]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Mention dropdown static change in Migration guide
authorMark Otto <markdotto@gmail.com>
Sun, 7 Feb 2021 19:46:31 +0000 (21:46 +0200)
committerXhmikosR <xhmikosr@gmail.com>
Tue, 9 Feb 2021 12:34:27 +0000 (14:34 +0200)
Co-authored-by: Rohit Sharma <rohit2sharma95@gmail.com>
site/content/docs/5.0/migration.md

index 8f71fc218ec4c3fd869ebef4a86d87cd1b7b4c8a..6e4839348e87ac3aca2df2ceb679a1bb03a9dc55 100644 (file)
@@ -23,6 +23,7 @@ toc: true
 - Restored `offset` option for Dropdown, Popover and Tooltip plugins.
 - The default value for the `fallbackPlacements` is changed to `['top', 'right', 'bottom', 'left']` for better placement of popper elements.
 - All the events for the dropdown are now triggered on the dropdown toggle button and then bubbled up to the parent element.
+- Dropdown menus now have a `data-bs-popper="static"` attribute set when the positioning of the dropdown is static and `data-bs-popper="none"` when dropdown is in the navbar. This is added by our JavaScript and helps us use custom position styles without interfering with Popper's positioning.
 
 ## v5.0.0-beta1