mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-04-28 09:54:44 +00:00
added the single call to local function focus button to ensure menu height calculation is accurate Fixes #1453
This commit is contained in:
parent
2d2e6d7741
commit
cf23361a19
1 changed files with 4 additions and 0 deletions
|
|
@ -554,6 +554,10 @@ $.widget( "mobile.selectmenu", $.mobile.widget, {
|
|||
}
|
||||
|
||||
if(self.menuType == "page"){
|
||||
// button refocus ensures proper height calculation
|
||||
// by removing the inline style and ensuring page inclusion
|
||||
self.menuPage.one("pagehide", focusButton);
|
||||
|
||||
// doesn't solve the possible issue with calling change page
|
||||
// where the objects don't define data urls which prevents dialog key
|
||||
// stripping - changePage has incoming refactor
|
||||
|
|
|
|||
Loading…
Reference in a new issue