Skip to content

Fix back-key handling #107

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

Merged
merged 4 commits into from
Jul 9, 2025
Merged

Conversation

JSUYA
Copy link
Member

@JSUYA JSUYA commented Jul 3, 2025

The backkey performs the function of going back the prev-page(Navigator) by calling popRoute when pressed.
This is because the back key is a system-level key and other platforms behave the same.
however, in the dialog case of flutter, there is a case where navigator.pop() is occured on key-down.
Therefore, when the key-down event is handled for the Back key, the up event is also ‘handled’.

related issue: #106

@JSUYA JSUYA requested review from seungsoo47 and xiaowei-guan July 3, 2025 10:19
JSUYA added 4 commits July 7, 2025 15:32
The backkey performs the function of going back the prev-page(Navigator) by calling popRoute when pressed.
This is because the back key is a system-level key and other platforms behave the same.
however, in the dialog case of flutter, there is a case where navigator.pop() is occured on key-down.
Therefore, when the key-down event is handled for the Back key, the up event is also ‘handled’.
@JSUYA JSUYA force-pushed the fix_backkey_handling branch from 9f882b5 to 7d02ba2 Compare July 7, 2025 06:32
@JSUYA JSUYA merged commit 36968dd into flutter-tizen:master Jul 9, 2025
9 checks passed
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

Successfully merging this pull request may close these issues.

3 participants