StickyTableHeaders
StickyTableHeaders copied to clipboard
Table with thead tag produces auto-scrolling to the bottom of the page on Firefox
On Firefox version 66+ (not tested before), if the StickyTableHeaders-Table in on top of the page and has a thead tag, after leaving the sticky header table, the browser continues to scroll by it self until the bottom of the page and "stays" there, no more scrolling up possible.
Here is a jsfiddle to reproduce this: https://jsfiddle.net/vLx4z3n5/1/
It does seem to be a new thing with firefox - we've been using this for many years and just started getting odd complaints of issues with the page scrolling to the bottom - have tracked it down to this - disabled all stickytableheaders on firefox as a work around - I couldn't see what on earth is going wrong
This is firefox bug and I have created a ticket on bugzila https://bugzilla.mozilla.org/show_bug.cgi?id=1543599
Still waiting for them to fix it
I'm looking into fixing that Firefox bug and got here just by chance, that jsfiddle with the reduction would've been extremely useful!
Anyhow, thank you for reporting it. You can work around it by using overflow-anchor: none
on the container. But I'll try to get it fixed next week.
Should be fixed in Nightly, 68ESR and Beta, fwiw.
Relatedly, this plugin creates an infinite scroll event bug in Chrome, which I fixed on Firefox too, and which is tracked in https://bugs.chromium.org/p/chromium/issues/detail?id=988991. See my comment there for how to reproduce it.