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.
CodePudding user response:
you can run this code everywhere you change page:
FocusManager.instance.primaryFocus?.unfocus()
CodePudding user response:
try to remove that you set in textfield as autofocus true.