You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.
I added Overlay panel in my page with "Data-Position-Fixed="true"". As per docs, the Overlay Panel unfix itself if the panel content height is larger than active page height
if (expand)
{
self._unfixPanel();
$.mobile.resetActivePageHeight( pannelInnerHeight );
}
It will work fine in desktop browser and tablet but it is not working in Android 4.0x smartphone e.g. Samsung Galaxy SII, Sony Experia. The Panel have same set of class
"ui-panel ui-panel-position-right ui-panel-display-overlay ui-body-a ui-panel-fixed ui-panel-animate ui-panel-open" .
If we remove ui-panel-fixed class and set data-position-fixed=false on event like $(document).bind('panelbeforeopen') and $(document).bind('panelopen'), though it is not unfix panel in above mentioned android phones
The text was updated successfully, but these errors were encountered:
If the content on overlay is larger than screen height, the Android devices not working as per /docs/. In iphone,desktop browser Overlay gets unfix so that it scroll with page but in Android device it is not getting scroll with page
I have set test page on this URL http://jsbin.com/onibuc/381
I can confirm this issue in 1.3.0 but has been fixed in latest code as you will see if you test again with the test page you provided.
Re: "the Overlay Panel unfix itself if the panel content height is larger than active page height". Actually we unfix the panel if its content height is larger than the viewport (screen) height: panelInnerHeight > $.mobile.getScreenHeight(). That's also how it is explained in the API docs.
I added Overlay panel in my page with "Data-Position-Fixed="true"". As per docs, the Overlay Panel unfix itself if the panel content height is larger than active page height
if (expand)
{
self._unfixPanel();
$.mobile.resetActivePageHeight( pannelInnerHeight );
}
It will work fine in desktop browser and tablet but it is not working in Android 4.0x smartphone e.g. Samsung Galaxy SII, Sony Experia. The Panel have same set of class$(document).bind('panelbeforeopen') and $ (document).bind('panelopen'), though it is not unfix panel in above mentioned android phones
"ui-panel ui-panel-position-right ui-panel-display-overlay ui-body-a ui-panel-fixed ui-panel-animate ui-panel-open" .
If we remove ui-panel-fixed class and set data-position-fixed=false on event like
The text was updated successfully, but these errors were encountered: