We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f20cd54 commit c53198cCopy full SHA for c53198c
ui/jquery.ui.dialog.js
@@ -679,7 +679,10 @@ $.widget( "ui.dialog", {
679
if ( $.ui.dialog.overlayInstances ) {
680
this._on( this.document, {
681
focusin: function( event ) {
682
- if ( !$( event.target ).closest(".ui-dialog").length ) {
+ if ( !$( event.target ).closest(".ui-dialog").length &&
683
+ // TODO: Remove hack when datepicker implements
684
+ // the .ui-front logic (#8989)
685
+ !$( event.target ).closest(".ui-datepicker").length ) {
686
event.preventDefault();
687
$(".ui-dialog:visible:last .ui-dialog-content")
688
.data("ui-dialog")._focusTabbable();
0 commit comments