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

fix: Select field breaks forms in safari #5685

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

gfviegas
Copy link

@gfviegas gfviegas commented Mar 1, 2023

Fixes #5111

Summary

When a Select is present on a form rendered on Safari (both iOS and Mac tested), every change in ANY input (even others than the Select) causes the screen to focus on the select input and loses focus on the changing input.

This PR aims to fix #5111 . There's a minimal reproduction of the problem this PR solves in this issue.

@auto-assign auto-assign bot requested a review from surajahmed March 1, 2023 13:22
@vercel
Copy link

vercel bot commented Mar 1, 2023

@gfviegas is attempting to deploy a commit to the Geekyants Team Team on Vercel.

A member of the Team first needs to authorize it.

@gfviegas gfviegas changed the title Removes selection prop on select input on safari fix: Select field breaks forms in safari Mar 1, 2023
@mikevercoelen
Copy link

Good catch! This should also be applied to Input component.

@robbporto
Copy link

Any chance that this can be merged, please? I'm having to use an old version of native-base because of this bug and this PR fixes it.

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

Successfully merging this pull request may close these issues.

Select element takes focus from input element on react native web on Safari browser
3 participants