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
ScrollView.keyboardDismissBehavior doesn't unfocus the keyboard properly #103544
Comments
@Shawn-sudo And when we open drawer, the textfield becomes inactive as you can see in the background, it has greyed out and hence the keyboard closes. which I think is an expected behavior. What exactly should be the expected result from your end ? Does the same occur in native iOS app if you could check and confirm ? |
@darshankawar Oh did you scroll the page before opening the drawer? Cause it happened to me only when I 1. open the keyboard 2. close the keyboard by scrolling the |
I can't scroll using the code sample you provided. Please provide complete code sample that shows the behavior. |
Umm Just put |
See if this issue is similar to your case #57609 |
I think #57609 is different from what I'm talking about, but I think it would solve this issue in a broad way. Thx |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
Steps to Reproduce
keyboardDismissBehavior: ScrollViewKeyboardDismissBehavior.onDrag
in aSingleChildScrollView
, which hasTextField
among the children.TextField
to focus on it.Expected results:
When the drawer is opened, keyboard stays there
Actual results:
Keyboard pops out
IMG_4871.mp4
Similar Issue
#54277: This gives the solution to dismiss the keyboard properly, and I think the proper way of dismissing it is not applied on
SingleChildScrollView
's.onDrag
code.Code sample
Logs
The text was updated successfully, but these errors were encountered: