ZoomApps / Liveapp

Liveapp Framework :rocket:
https://www.liveapp.com.au
2 stars 1 forks source link

incorrect action bar position in mobile #54

Closed JasonBev closed 6 years ago

JasonBev commented 6 years ago

The action bar is calculated to be fixed from the top 100vh - 60px (height of bar) which works, but on change of orientation it remains at that fixed point, not at the bottom of the screen.

image

image

Possibly change mobilewindow.js and skin (.actions-bar-bottom) to use bottom:0px instead, or a-

$(window).on("orientationchange", function() {
  $("#" + m_id + "actions").css("top","calc(100vh - 60px)")
}); 
paulfisher53 commented 6 years ago

I've changed all top styles to bottom. Please give it a test

Fix-54.zip

JasonBev commented 6 years ago

Tested and solution provided works as expected.

paulfisher53 commented 6 years ago

Thanks