ARTICLE AD BOX
Asked today
Viewed 49 times
The problem was I had an app that has a settings page with textFormFields. That page has worked for literally years, and I made zero changes to it's code. Out of nowhere, the keyboard stops coming up for the user to type anything. Only the cursor shows up.
After a lot of digging I have determined this is likely related to the Kotlin 2.1.0 update.
Question - Why is the kotlin update suddenly interacting with my app in a way that hides the keyboard?
The console does show the following statement: HideSoftInputFromWindow. ->But i am absolutely not telling it to do that.
52.3k12 gold badges94 silver badges153 bronze badges
Solution in my case-
This app connects to a hardware device via bluetooth, and the bluetooth loop has to continually connect or the connection will be lost. Before the Kotlin update, the handling of the softInput focus was a little more lenient. A setState could be called somewhere else - like my Bluetooth loop - and it would still stay focused enough on the softInput to keep the keyboard up. After the update, the focus is stolen by the Bluetooth loop and no keyboard to speak of.
If for some reason your keyboard is gone now, check that something else isn't running in the background that is stealing flutters focus!!
Explore related questions
See similar questions with these tags.
