IntroJS Bootstrap Menu doesn't work

后端 未结 4 2169
陌清茗
陌清茗 2021-02-19 09:06

I\'m using bootstrap for UI Design. I have configured updated IntroJS to my site. Now it works fine with other elements but giving problem with Dropdown Menu Elements.

<

4条回答
  •  野性不改
    2021-02-19 09:12

    A bit late to the party but for anyone googling:

    The dropdown menu UL has introjs-fixParent added to it, for me this caused my menu to appear behind other elements on the page, so I fixed that by doing a z-index: 1000!important on the UL. Intro.js adds introjs-showElement on the element to be shown, which has a really high z-index. The problem here is the parents z-index is lower than the mask so any children are always behind the mask.

    My fix was to remove the z-index: 1000!important on the UL and put the other elements behind my menu.

提交回复
热议问题