From d56992b6d23109ffccc370cfdb36ffb8ae15d762 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sun, 7 Feb 2021 21:46:31 +0200 Subject: [PATCH] Mention dropdown static change in Migration guide Co-authored-by: Rohit Sharma --- site/content/docs/5.0/migration.md | 1 + 1 file changed, 1 insertion(+) 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