I find on mobile - at least ios, content shifts to the right when scrolling. So you end up with a white gap to the left. Seems to occur with any theme.
I think ios & getBoundingClientRect aren't playing nicely.
My guess is because the ios navbar shrinks when scrolled & resize doesn't fire
Can it be relative to doc instead of viewport?
rect.left + window.scrollX
rect.top + window.scrollY
I find on mobile - at least ios, content shifts to the right when scrolling. So you end up with a white gap to the left. Seems to occur with any theme.
I think ios & getBoundingClientRect aren't playing nicely.
My guess is because the ios navbar shrinks when scrolled & resize doesn't fire
Can it be relative to doc instead of viewport?
rect.left + window.scrollX
rect.top + window.scrollY