Dropdown menu in Ruby on Rails - Intro pt5/5
HTML-код
- Опубликовано: 9 сен 2024
- Creating a dropdown menu in the Ruby on Rails blog intro app!
Importmap commands:
./bin/importmap pin @floating-ui/core
./bin/importmap pin @floating-ui/dom
Repository:
github.com/Tim...
Are your bootstrap/popper dropdown menus not working?
As of 2024 Popper 2.11.8 and Bootstrap 5 don't seem to work 100%.
Here's a tutorial how to make a floating UI to create a hide/show dropdown menu with Stimulus and Rails 7 importmaps
Previous video:
• Images in Blog Content...
Javascript resources:
floating-ui.co...
stimulus.hotwi...