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.

genpfault's user avatar

genpfault

52.3k12 gold badges94 silver badges153 bronze badges

Lexi Wozniak's user avatar

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!!

Lexi Wozniak's user avatar

จงสร้างแอปพลิเคชันคำนวณอัตราแลกเปลี่ยนเงินตรา จากเงิน บาทไทย ไปเป็น เงินดอลลาห์  หรือ เงินหยวน หรือ เงินเยน หรือ เงินวอน ด้วย Flutter Framwork
อัตราแลกเปลี่ย
1 บาท  = 0.031 ดอลลาห์ = 0.22 หยวน = 5 เยน = 46 วอน

ปาริษา กันธะเป็ง's user avatar

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.