dinbror / bpopup

bPopup is a lightweight jQuery modal popup plugin (only 1.34KB gzipped). It doesn't create or style your popup but provides you with all the logic like centering, modal overlay, events and more. It gives you a lot of opportunities to customize so it will fit your needs.
http://dinbror.dk/bPopup
427 stars 260 forks source link

Android Default browser z-index not respected #19

Closed jrok closed 8 years ago

jrok commented 11 years ago

Trying to use on a tablet enabled site, and android's default browser on galaxy tab doesn't respect the z-index of the bg and modal content. This shows the bg over top of the modal instead of the other way around. Could be fixed by wrapping the modal content inside the .b-modal div instead of dropping the .b-modal div before it.

dinbror commented 11 years ago

Hey Jrok.

Yes thats possible, but not that simple. If you put your content inside the .b-modal container it'll get the same transparency/opacity as the modal overlay (default is 0.7). Another solution could be using hsla as background-color but that's not supported in IE8-.

What version of android are you seeing the issue on? Do you have a live example as well? I'll borrow a galaxy tab and test as well.

dinbror commented 8 years ago

Closing due to inactivity. And haven't had other complaints about the issue