var d = new Fit.Controls.Dialog();
d.Content("Hello world<br>How are you today?<br>This looks pretty good.<br><br><br>See you later..");
d.Modal(true);
var b = new Fit.Controls.Button();
b.Title("Click me");
b.OnClick(function(sender)
{
Fit.Controls.Dialog.Alert("Hi there..");
});
d.AddButton(b);
d.Open();
The Alert dialog opened from the initial dialog is supposed to have its OK button focused, but the button opening the Alert dialog remains focused. See screenshot below.
While this may seem like a minor bug its actually quite problematic as access to the dialog in the background cannot reliably be prevented, allowing the user to interact with the blocked dialog using the keyboard.
Consider the following example:
The Alert dialog opened from the initial dialog is supposed to have its OK button focused, but the button opening the Alert dialog remains focused. See screenshot below.
While this may seem like a minor bug its actually quite problematic as access to the dialog in the background cannot reliably be prevented, allowing the user to interact with the blocked dialog using the keyboard.