File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 536536 //reset toPage height back
537537 if ( ! touchOverflow ) {
538538 toPage . height ( "" ) ;
539- // Send focus to the newly shown page
540- reFocus ( toPage ) ;
541539 }
542540
543541 // Jump to top or prev scroll, sometimes on iOS the page has not rendered yet.
11681166 //remove initial build class (only present on first pageshow)
11691167 $html . removeClass ( "ui-mobile-rendering" ) ;
11701168
1169+ // Send focus to the newly shown page. Moved from promise .done binding in transitionPages
1170+ // itself to avoid ie bug that reports offsetWidth as > 0 (core check for visibility)
1171+ // despite visibility: hidden addresses issue #2965
1172+ // https://github.com/jquery/jquery-mobile/issues/2965
1173+ reFocus ( toPage ) ;
1174+
11711175 releasePageTransitionLock ( ) ;
11721176
11731177 // Let listeners know we're all done changing the current page.
You can’t perform that action at this time.
0 commit comments