Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inputs example broken on iOS Firefox #461

Closed
12joan opened this issue Sep 27, 2024 · 2 comments
Closed

Inputs example broken on iOS Firefox #461

12joan opened this issue Sep 27, 2024 · 2 comments

Comments

@12joan
Copy link

12joan commented Sep 27, 2024

The inputs example works reasonaly well on iOS Safari, but is practically unusable on iOS Firefox. This is the result of two bugs, where the second exacerbates the first:

  • iOS Safari and iOS Firefox: touchstart events on inputs cause those inputs to focus on touchend, even if the user intended to scroll.
  • iOS Firefox only: The height of the drawer is reduced after closing the keyboard, forcing users to scroll to see all the content.

Recording

RPReplay_Final1727423291.MP4

Timeline and reproduction steps

  • 0:00: Press Open Drawer
  • 0:03: Tap the project name field and type "Test"
    • The content is pushed up correctly
  • 0:05: Press done to close the keyboard
    • ⚠️ The height of the drawer is now incorrect
  • 0:07: Scroll down by placing finger on the "Get started" text and scroll back up
    • This works fine, and allows me to view the description field
  • 0:10: Attempt to scroll down by placing finger on the product name field
    • ⚠️ Instead of scrolling, the product name field is focused
  • 0:11: Close the keyboard
  • 0:12: Scroll down, tap the description field and type "Test"
    • The content is pushed up correctly
  • 0:17: Close the keyboard
  • 0:18: Attempt to scroll up by placing finger on the description field
    • ⚠️ Instead of scrolling, the description field is focused
  • 0:20: Close the keyboard and try again to scroll up
    • ⚠️ Same result, except the scroll is successful up until touchend, when the description is focused again
@sunwrobert
Copy link

Also noticing this same thing as well as general bugginess with iOS esp in PWA contexts. @emilkowalski any ideas?

@emilkowalski
Copy link
Owner

Fixed in #489

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants