Foundation 5 Topbar not working consistently in rails 4

后端 未结 4 1765
小蘑菇
小蘑菇 2020-12-30 13:12

I\'m using foundation 5 in my rails 4 app. The topbar menu works fine when I send a request. I can hover the items and nested items no problems. Then, I click on one of the

4条回答
  •  轮回少年
    2020-12-30 13:23

    I recently experienced this issue.

    Using jquery.turbolinks didn't fix it. Reordering the requires in the application.js didn't fix it.

    Nothing mentioned so far here did the trick.

    The solution I found was to move the foundation initializer from application.js to within the body. I just put it below my _nav partial.

     
    

提交回复
热议问题