thecodeholic / lobipanel

jQuery plugin for bootstrap panels. It extends panels with several common and useful functions.
MIT License
168 stars 75 forks source link

z-index of pulldown menu in case of mobile #29

Open sama55 opened 8 years ago

sama55 commented 8 years ago

I found a small issue. I set z-index to ul.dropdown-menu. But, It does not appear in the front. Can I deal with CSS? 2016-10-15_121002

thecodeholic commented 8 years ago

On default setup and on lobianijs.com examples page it works fine. Maybe you have additional css which overrides lobipanel's css.

Try empty installation and let me know the result

sama55 commented 8 years ago

Thanks arboshiki. This phenomenon was reproduced on your site. But now, it is correct. It is strange....

sama55 commented 8 years ago

I tried once again. I can not tell exactly the occurrence conditions, but it will occur. I'm using Chrome development console. 2016-10-17_083022 Do you change the z-index of the panel in Javascript?

thecodeholic commented 8 years ago

I think I found the problem. This happens when you start dragging the panel but release immediately. jQuery ui sets its z-index to 0 and that causes the problem.

sama55 commented 8 years ago

Probably, I think issue is fixed with this. http://stackoverflow.com/questions/6311475/jquery-ui-draggable-element-always-on-top As a reference. Thanks again.