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 112185e commit 1a69667Copy full SHA for 1a69667
ui/jquery.ui.dialog.js
@@ -119,6 +119,10 @@ $.widget("ui.dialog", {
119
uiDialogTitlebar = ( this.uiDialogTitlebar = $( "<div>" ) )
120
.addClass( "ui-dialog-titlebar ui-widget-header " +
121
"ui-corner-all ui-helper-clearfix" )
122
+ .bind( "mousedown", function() {
123
+ // Dialog isn't getting focus when dragging (#8063)
124
+ uiDialog.focus();
125
+ })
126
.prependTo( uiDialog ),
127
128
uiDialogTitlebarClose = $( "<a href='#'></a>" )
0 commit comments