-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Focus loss on username/password in expo web #4483
Comments
Note: this only happens with the |
For web, use the aws-amplify-react component. |
This sounds similar to #3827. @hew Did @davidbiller's suggestion work, with using In the meantime, I'll need to setup a project and reproduce it... |
I was able to reproduce it here: Using a vanilla Going to mark this as a bug & get some 👀 on this... |
Aha! So the problem is with using There isn't React Native support for (Or, based on your usage, @hew Try converting your code to use I'm looping in a few others on the team for extra 👀 on this. |
@ericclemmons Thanks for the response! 😀 I ended up going with a custom approach using the |
So switching the View to a ScrollView in SignIn.js resolves the issue...
|
Just merged a fix for this, and it should be in the next release. I'm going to go ahead and close this issue for now, but feel free to open a new issue if the issue persists 👍 |
This issue has been automatically locked since there hasn't been any recent activity after it was closed. Please open a new issue for related bugs. Looking for a help forum? We recommend joining the Amplify Community Discord server |
Describe the bug
Focus loss on username/password fields using expo web.
To Reproduce
Steps to reproduce the behavior:
npm i aws-amplify-react-native
expo start --web
At this point, you should be able to attempt some input in the browser. Immediately, the fields will lose focus, preventing you from entering any text.
Expected behavior
The expected behaviour is that the input fields should NOT lose focus.
The text was updated successfully, but these errors were encountered: