You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Figured this out while diagnosing why my sidebar wasn't switching to the lowest item when scrolling to the bottom. According to MDN, pageYOffset is:
A floating-point number specifying the number of pixels the Document is scrolled vertically within its containing Window. This number is subpixel precise, so it may not be an integer.
Looks like my page ends on a subpixel? :)
(sorry -- I didn't make a JSFiddle -- it would've taken more time than contributing a fix!)
The text was updated successfully, but these errors were encountered:
Figured this out while diagnosing why my sidebar wasn't switching to the lowest item when scrolling to the bottom. According to MDN, pageYOffset is:
Looks like my page ends on a subpixel? :)
(sorry -- I didn't make a JSFiddle -- it would've taken more time than contributing a fix!)
The text was updated successfully, but these errors were encountered: