-
-
Notifications
You must be signed in to change notification settings - Fork 313
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: The virtual keyboard is sometimes visible after clicking on the Search field on the homepage #2712
Conversation
+ add some nice ripples
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nothing serious, just a minor comment (can be ignored)
), | ||
style: const TextStyle(fontSize: 18.0), | ||
hintText: localizations.search, | ||
suffixIcon: widget.showClearButton ? _buildClearButton() : null, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we have used this variable instead of creating readOnly
here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's another way to design this, true.
But my idea was to limit the changes on the external API
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay then it's fine, can be merged!
thanks @g123k |
Nice idea indeed |
The homepage card displays a
TextField
that does nothing. Once it has the focus, it opens a screen.On some devices, the event to open the keyboard has the time to be consumed, hence the issue.
To prevent this behavior, I have created a fake button, with also some lovely ripples 😋
https://user-images.githubusercontent.com/246838/182380411-20e1f8af-322f-4acc-a72d-b5b57c4159a9.mp4
Will fix #2531