Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

Bug? Modal dialogs do NOT prevent the dialog hidden behind them from receiving Keyboard Input

$
0
0

Hi, I have been testing a Xamarin Forms application with an Android simulator (GenyMotion), and have noticed some disturbing behavior -

When using the PushModalAsync method to display a modal login dialog, I am using the PC keyboard's tab key to tab between the entry controls on the login dialog.

What is happening though is that controls on the parent page are receiving focus! When I have focus on one of the controls (user name entry) and press tab, it should go to the password entry control, but it is not! It is instead placing focus on a control on the hidden parent page. I can tell this because even though you cannot see the hidden control, if I enter some text, and then login, I can see the text I entered on the entry control on the parent page.

I appreciate that it may not be observed on actual devices, but its very disturbing that (even with a simulator) it is possible for controls on the parent dialog to receive focus when you are displaying a modal dialog.

Surely this is a bug, and should not be possible. Has anyone else seen this bug?


Viewing all articles
Browse latest Browse all 58056

Trending Articles