Bootstrap4 dropdown only works in the second click

后端 未结 7 1045
失恋的感觉
失恋的感觉 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

提交回复
热议问题