Dialog: Add option to set which element gains focus on open
|Reported by:||slolife||Owned by:|
I have a jQuery UI dialog whose first tabbable element is an input textbox which is also a datepicker textbox.
So, when a user clicks on a link to open the dialog, the dialog UI code automatically sets the focus to the first element, which, in my case, triggers the datepicker widget to display as well. It is very confusing to the user.
Please add a config option to the dialog widget to disable the auto-focus feature if desired.
Change History (22)
comment:1 Changed 8 years ago by
|Milestone:||TBD → 1.8|
|Summary:||Add option to dialog to prevent auto-focus of first tabbable element → Add option to set which element gains focus on open|
|Type:||bug → enhancement|
comment:15 Changed 5 years ago by
|Status:||new → open|
|Summary:||Add option to set which element gains focus on open → Dialog: Add option to set which element gains focus on open|