Scroll past bottom of page with floating notice

digitalpoint

Well-known member
Affected version
2.2.12
As seen here, if you have a floating notice and scroll to the bottom, you can just keep scrolling past the bottom. To make sure it wasn't something specific to my site, I spun up a XF demo site, and it's the same thing (scroll to the bottom):


1673453833100.webp


1673453637459.webp
 
Also related, isn't the bottom of the floating notices supposed to have a margin? Because it does not (even when you aren't scrolling past the bottom).

1673454492348.webp
 
Was just about to make a thread for this. So it is a bug or it is meant to be this way? I don't think it did this in older versions.
 
How has this not even been acknowledged since Jan? I wish someone took charge primarily of the bug forums and kept them tidy.
 
Tumbleweed GIF

xf hq - ghost town
 
Has this been corrected yet? @Chris D or @Kier, would you be able to fix this in 2.3 please?

Could just be a change to core_utilities.less
.u-bottomFixer from sticky to fixed
EDIT: Although this interferes with the cookie notice.
 
Last edited:
I think the issue is that position: sticky doesn't play well there.

I ended up changing it to this and it seems to work as expected:
CSS:
.u-bottomFixer {
    position: fixed;
    right: 0;
}

This conflicts with the cookie notice for me - I think I will need to either define a new element ".u-bottomFixer2" or edit the JS to ensure it doesn't overlap with the cookie notice 😩
 
Back
Top Bottom