-
Notifications
You must be signed in to change notification settings - Fork 0
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
Soft keyboard won't hide in CardView even with explicit unfocus call #1
Comments
@minkyn thank you for taking the time to report! I should have time to take a look within the next week. Will happily review any pull request as well :) |
I have been investigating but haven't yet figured it out. This doesn't happen in my Android phones, only in iPhone with either Chrome or Safari. Basically the symptom is that I can find no way to unfocus from the Square So far I have tried In summary, it looks like the traditional programmatic way of unfocusing doesn't work for the I'm not sure if this is a bug of this plugin or flutter, as I know |
Thanks @minkyn, I'm able to reproduce the behavior you describe. I believe focus/unfocus synchronization needs to be added between the Flutter |
In the example, for the widget that contains the
CardView
and a button, if you click the button without dismissing the soft keyboard on a mobile device, the keyboard would stay on.I tried adding a
FocusManager.instance.primaryFocus?.unfocus()
as the first thing as well as aftertokenize
call for the button'sonPressed
callback, but it doesn't work and I can still see the cursing blinking in theCardView
without giving up the focus.The original Square web SDK doesn't have this issue though.
The text was updated successfully, but these errors were encountered: