Whenever i try to comeback from another screen my keyboard pop up everytime in flutter

Issue

application preview

while cooming back from any screen to homescreen my keyboard pop-ups automatically which makes user experience bad.

Can someone tell me how to deal with this bug.

Solution

you can run this code everywhere you change page:

FocusManager.instance.primaryFocus?.unfocus()

github issue

Answered By – Hooman

Answer Checked By – Marilyn (FlutterFixes Volunteer)

Leave a Reply

Your email address will not be published.