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

fix(wasm): key tracking when no one is subscribing to Key<Down|Up> #18702

Merged

Conversation

ramezgerges
Copy link
Contributor

GitHub Issue (If applicable): closes #18617

PR Type

What kind of change does this PR introduce?

What is the current behavior?

What is the new behavior?

PR Checklist

Please check if your PR fulfills the following requirements:

Other information

Internal Issue (If applicable):

@ramezgerges
Copy link
Contributor Author

This affects NavigationView (as reported in the original issue) because, for some reason, NavigationView's logic is written so that if any modifiers are pressed, it should not open the picker popup.

@ramezgerges ramezgerges force-pushed the wasm_modifier_key_tracking branch from f2f751b to 542a226 Compare November 5, 2024 17:14
@unodevops
Copy link
Contributor

🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-18702/index.html

@unodevops
Copy link
Contributor

🤖 Your WebAssembly Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-18702/index.html

Copy link
Member

@MartinZikmund MartinZikmund left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We will need to improve keyboard state tracking in general as it is not completely reliable, e.g. when key is pressed before the window gets focused, opened #18714 to track this.

@ramezgerges
Copy link
Contributor Author

@MartinZikmund Actually, this is still the case on WASM after this PR. This only fixes missing tracking updates when KeyDown/Up has no listeners, but an out-of-focus press will still mess up the tracking. We will need to investigate that separately.

@jeromelaban jeromelaban marked this pull request as draft November 6, 2024 19:26
@github-actions github-actions bot added the area/automation Categorizes an issue or PR as relevant to project automation label Nov 7, 2024
@unodevops
Copy link
Contributor

🤖 Your WebAssembly Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-18702/index.html

@unodevops
Copy link
Contributor

🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-18702/index.html

@ramezgerges ramezgerges marked this pull request as ready for review November 19, 2024 18:24
@unodevops
Copy link
Contributor

🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-18702/index.html

@unodevops
Copy link
Contributor

🤖 Your WebAssembly Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-18702/index.html

@MartinZikmund MartinZikmund merged commit 44d7617 into unoplatform:master Nov 20, 2024
114 of 115 checks passed
@ramezgerges ramezgerges deleted the wasm_modifier_key_tracking branch November 20, 2024 11:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/automation Categorizes an issue or PR as relevant to project automation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[WASM] CalendarView of CalendarDatePicker does not work after entering uppercase letters in PasswordBox.
4 participants