Skip to content

input elements gets focused on ios safari when scrolling #223

@elr0berto

Description

@elr0berto

First of all: Thanks for a great component, solved lots of headache, specially the "avoid keyboard" thing. <3

I have a sheet with content that is taller than the screen so the content becomes scrollable.
The content contains input elements.
When i scroll up and down on android chrome it works fine.
But when i scroll up and down on safari and chrome on IOS, if I accidentally touch one of the input fields it gets focused and the keyboard shows up.

UPDATE: disableScrollLocking = true fixes this. BUT then the avoidKeyboard seems to not work correctly. When disableScrollLocking is true and the keyboard opens then the top of the sheet goes out of view.

Any ideas?!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions