]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Move and update migration notes
authorXhmikosR <xhmikosr@gmail.com>
Thu, 1 Oct 2020 06:24:49 +0000 (09:24 +0300)
committerXhmikosR <xhmikosr@gmail.com>
Sun, 6 Dec 2020 16:42:40 +0000 (18:42 +0200)
site/content/docs/5.0/migration.md

index 7eef5504f8e4eacf1887ef7429a66024e160cb59..c32dcfab920106de026545af7b00934b6d3ab75a 100644 (file)
@@ -56,6 +56,9 @@ Breakpoints specific variants are consequently renamed too (eg. `.text-md-start`
 ### JavaScript
 
 - Data attributes for all JavaScript plugins are now namespaced to help distinguish Bootstrap functionality from third parties and your own code. For example, we use `data-bs-toggle` instead of `data-toggle`.
+- Updated Popper to v2.x:
+  - Removed `offset` option from our Tooltip/Popover and Dropdown plugins; this can still be achieved using the `popperConfig` parameter.
+  - The `fallbackPlacement` option has become `fallbackPlacements`.
 
 ### Sass
 
@@ -283,8 +286,6 @@ Changes to our source and compiled JavaScript files.
 
 - Dropped jQuery dependency and rewrote plugins to be in regular JavaScript.
 - Removed underscore from public static methods like `_getInstance()` → `getInstance()`.
-- Moved from Popper v1.x to Popper v2.x
-- Removed `offset` option from our Tooltip/Popover and Dropdown plugin, this can still be achieve using `popperConfig` parameter.
 
 ### Color system