Nov 26, 2017 06:41 AM
(This post was last modified: Nov 26, 2017 06:41 AM by DaemonSic.)
I am working on some project, and after testing I have noticed that if the device has virtual buttons(on-screen), then div element that is supposed to be always fixed at the bottom, is behind those buttons. Basically I have lets say 2 divs, one is 100vw 100vh, the other one is 100vw wide and has height of 60px, instead of going above(stacked) the buttons, it goes beneath those buttons and is invisible unless the user hides his virtual buttons.
Is there a way to detect if the user has virtual buttons, and then just use some JS magic, or can it be fixed with a simple CSS solution?
Here is my JS Fiddle.
https://jsfiddle.net/hc9fvdgc/
Is there a way to detect if the user has virtual buttons, and then just use some JS magic, or can it be fixed with a simple CSS solution?
Here is my JS Fiddle.
https://jsfiddle.net/hc9fvdgc/


![[Image: fpZ5a5g.png]](https://i.imgur.com/fpZ5a5g.png)