-
Notifications
You must be signed in to change notification settings - Fork 26.7k
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
Collapsing the software keyboard doesn't lose the focus from textfield in 3.22.0, while it worked in 3.19.6 #148527
Comments
This comment was marked as duplicate.
This comment was marked as duplicate.
In my case set keyboardType = KeyboardType.number, and when req focus call blink type text. ScreenRecord_2024_05_17_11_36_55.mp4 |
@wuweijian1997 148527.mov |
click this to Collapse the keyboard. |
@darshankawar try click here.then try to focus the TextField |
Tried the same but still couldn't replicate. 148527_1.mov |
@wuweijian1997 Hi, I tried to reproduce the bug by following the order of the steps you wrote, but everything works fine for me too. Registrazione.schermo.2024-05-17.alle.12.30.33.mov |
Android.Emulator.-.Pixel_6_Pro_API_33_5554.2024-05-17.19-58-25.mp4 |
click fab TextField not focus,you replicate it. |
@wuweijian1997 I'm sorry, but I thought I had installed the latest version of Flutter when I did the test. Registrazione.schermo.2024-05-17.alle.14.38.55.movSo @darshankawar , I confirm that this instruction isn't working:
|
@wuweijian1997 What's the expected behavior after tapping FAB ? Can you also show a video of it working in previous version ? |
This comment was marked as off-topic.
This comment was marked as off-topic.
@wuweijian1997 I was trying to understand the behavior that exists in previous version against the one which isn't working in latest. Please read the github code of conduct while commenting. Coming back to the issue, I checked in stable 3.19.6 wherein the behavior is as below: 148527.movie, tapping the collapse button also loses the focus from the textfield as shown, but in latest version, the focus remains in the textfield. stable, master flutter doctor -v
|
@wuweijian1997 Is the behavior seen in the previous comment what you are expecting? |
@justinmc I expect the keyboard to be raised when running the code
But in 3.22.0, this doesn't work |
Steps to reproduce
This issue does not exist in Flutter 3.19.3, it only occurs in Flutter 3.22.0
This issue does not exist in Flutter 3.19.3, it only occurs in Flutter 3.22.0
Expected results
TextField refocus
Actual results
refocus not work
Code sample
Code sample
Screenshots or Video
Screenshots / Video demonstration
[Upload media here]
Logs
Logs
[Paste your logs here]
Flutter Doctor output
Doctor output
The text was updated successfully, but these errors were encountered: