Dropup does not get flipped even when not enough space on top
Created by: rohit2sharma95
The issue exists in the official documentation as well: https://getbootstrap.com/docs/5.0/components/dropdowns/#dropup
Steps to reproduce
- Scroll down a little bit to be sure that there is not enough space for the dropup to be placed at the top.
- Click the button (Dropup is not flipped by default)
- Now scroll or resize the window (Dropup is flipped to bottom)