Open janne-hmp opened 4 months ago
Hi I'm an AI powered bot that finds similar issues based off the issue title.
Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!
Note: You can give me feedback by thumbs upping or thumbs downing this comment.
Verified this issue with Visual Studio 17.11.0 Preview 2.0 (9.0.0-preview.5.24307.10 & 9.0.0-preview.4.10690). Can repro on Windows platform.
I can see the same issue on iOS as well. The more irritating thing there is there is no tab to regain focus into the modal control.
/similarissues
Hi I'm an AI powered bot that finds similar issues based off the issue title.
Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!
Note: You can give me feedback by thumbs upping or thumbs downing this comment.
Note to myself (or future someone) this may be a repro: https://github.com/TomRobson-me/KeyboardTabBug.git
I'm getting similar issues on android, on maui 8.0.82 a new modal page is shown, and typing on the physical keyboard (or using its tab control a few times) will trigger a control from the underlying page which then displays a picker UI over the top of my modal page.
Description
On Windows in .NET MAUI 8.0 and 9.0 Preview 4, the keyboard focus does not shift to the newly opened modal page (opened using
Navigation.PushModalAsync
), but remains on the main page (first page of the app). You can press enter to click the button on the page beneath the modal page.Steps to Reproduce
BackgroundColor="Beige"
.using Microsoft.Maui.LifecycleEvents;
and add to builder the following:
XAML:
C#: (closes the modal window, so you can check what's going on beneath):
Link to public reproduction project repository
Can make one if need be, but this is very easy to replicate.
Version with bug
9.0.0-preview.4.10690
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
Windows
Affected platform versions
Windows 11
Did you find any workaround?
No. All potential workarounds are complicated and imperfect.
Relevant log output
No response