From: Mark Otto Date: Sun, 7 Feb 2021 19:46:31 +0000 (+0200) Subject: Mention dropdown static change in Migration guide X-Git-Tag: v5.0.0-beta2~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d56992b6d23109ffccc370cfdb36ffb8ae15d762;p=thirdparty%2Fbootstrap.git Mention dropdown static change in Migration guide Co-authored-by: Rohit Sharma --- diff --git a/site/content/docs/5.0/migration.md b/site/content/docs/5.0/migration.md index 8f71fc218e..6e4839348e 100644 --- a/site/content/docs/5.0/migration.md +++ b/site/content/docs/5.0/migration.md @@ -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