semantic-ui dropdown menu do not work

后端 未结 7 1359
攒了一身酷
攒了一身酷 2020-12-09 01:42

I have been trying to build a menu using Semantic-UI. I can\'t get the dropdown menus to work at all. I took a copy of the page Menu examples and pulled out everything excep

7条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-09 01:54

    A quick note:

    If the dropdown is not displaying and Bootstrap has been loaded on the same page with semantic-ui, then make sure to load the semantic js library after bootstrap.

    This occurs because both bootstrap and semantic-ui have the same .dropdown() method used for displaying dropdown menus. That said, the last library to be loaded between semantic-ui and bootstrap will override all other .dropdown() methods that exists.

提交回复
热议问题