mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
All: Include native dialogs in appendTo logic (ui-front walking)
Ref #10739
Ref gh-1517
(cherry picked from commit dc6703756d
)
This commit is contained in:
parent
977b33625b
commit
eb13525fbe
@ -359,7 +359,7 @@ $.widget( "ui.autocomplete", {
|
||||
}
|
||||
|
||||
if ( !element || !element[ 0 ] ) {
|
||||
element = this.element.closest( ".ui-front" );
|
||||
element = this.element.closest( ".ui-front, dialog" );
|
||||
}
|
||||
|
||||
if ( !element.length ) {
|
||||
|
@ -541,7 +541,7 @@ return $.widget( "ui.selectmenu", {
|
||||
}
|
||||
|
||||
if ( !element || !element[ 0 ] ) {
|
||||
element = this.element.closest( ".ui-front" );
|
||||
element = this.element.closest( ".ui-front, dialog" );
|
||||
}
|
||||
|
||||
if ( !element.length ) {
|
||||
|
Loading…
Reference in New Issue
Block a user