jquery/jquery-mobile — Issue #3245: Dialog Background Issue: Reset Active Page Height with touchOverflow enabled
Author: moncuit
Created: 2011-12-10 15:54:46+00:00
State: open

Using jQM v1.0 with touchOverflow enabled on iPad, experiencing the dialog's background only partially filling the screen.

Issue exists in the function: resetActivePageHeight. With touchOverflow and touchOverflowEnabled both set, the reset active page height logic is not being executed.

Changing

if( $.support.touchOverflow && $.mobile.touchOverflowEnabled){...

to

if( $.support.touchOverflow && $.mobile.touchOverflowEnabled && $.mobile.activePage[0].dataset.role != "dialog"){...

allows the active page height logic to be executed, resetting the screen height and fixing the issue.

Hope this helps.

P.S. touchOverflow user experience is superb. Well done.