Skip to content
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

[Windows] First Enter and Escape key is eaten after hide/minimize the app via code #480

Open
tonka3000 opened this issue Aug 11, 2024 · 0 comments

Comments

@tonka3000
Copy link

tonka3000 commented Aug 11, 2024

Hi,

Since the last couple of Flutter versions (currently 3.24) I have the issue that the first enter/escape key in a TextField get eaten by the app on Windows Desktop App after the Window get shown from hidden/minimized state.

This only happens when I hide/minimize the window via the corresponding method of windowManager. When I minimize via the Dialog button in the upper right corner with a mouse click this effect does not happen when I bring back the Dialog.

Entering any other key will work without any issue, only the ENTER and ESCAPE keys are affect. Until the window get hidden again the issue don't come back.

My Scenario:

I have a simple TextField which has auto-focus. Just hide/minimize via code show make it reproducible.

Demo App which show the general focus issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant