Why jQuery UI 1.10 remove jquery dialog zIndex option?

后端 未结 6 2122
礼貌的吻别
礼貌的吻别 2020-12-03 07:45

I found the latest version of jQuery UI(1.10) remove the zIndex option. And it\'s confirmed on the jQuery website.

It really shocked me. Please think ab

6条回答
  •  伪装坚强ぢ
    2020-12-03 07:59

    I think I understand your problem. The CSS z-index for the jQuery UI dialog is not high enough to always show above your content. Here's a quick fix:

    /* A class used by the jQuery UI CSS framework for their dialogs. */
    .ui-front {
        z-index:1000000 !important; /* The default is 100. !important overrides the default. */
    }
    

提交回复
热议问题