Bootstrap4 dropdown only works in the second click

后端 未结 7 1048
失恋的感觉
失恋的感觉 2021-02-19 07:01

I am working on a django project, that is using bootstrap4 and I\'m with a little problem with dropdown toggler.

The toggler only toggles the dropdown-menu after the seco

相关标签:
7条回答
  • 2021-02-19 07:43

    Agree with Iwan B. In Rails in javascripts I left only bootstrap.bundle.js. In Gemfile add gem 'popper_js', '~> 1.14.5', respectively in application.js we should add //= require popper

    0 讨论(0)
提交回复
热议问题