Skip to content

iphone #5

@pgrapes

Description

@pgrapes

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions