Skip to content

Migrate from Popper to Floating UI#41941

Merged
mdo merged 7 commits intov6-devfrom
v6/floating-ui
Dec 17, 2025
Merged

Migrate from Popper to Floating UI#41941
mdo merged 7 commits intov6-devfrom
v6/floating-ui

Conversation

@mdo
Copy link
Copy Markdown
Member

@mdo mdo commented Dec 17, 2025

WIP, need to edit description more for changes.

All components

  • Drops Popper for Floating UI across dropdowns, popovers, and tooltips
  • Replaces all references to Popper with Floating UI
  • Removes static positioning on dropdowns in navbars
  • Updates page filenames to be singular for components (more to do for consistency later)
  • New way to responsively set alignment, using prefix breakpoints in the placement data attribute (e.g., data-bs-placement="bottom-start md:bottom-end")

Dropdowns

  • New styles for dropdown items, headings, and dividers
  • Menus now use flexbox (column) with a gap between items
  • No more dropup, dropend, dropstart, etc—just .dropdown.
  • No more carets by default on .dropdown-toggle.

Popovers & Tooltips

  • data-popper-placement is now data-bs-placement
  • Refined font, padding, and other styles for both components

@mdo mdo added this to v6.0.0 Dec 17, 2025
@mdo mdo added the js label Dec 17, 2025
@mdo mdo requested review from a team as code owners December 17, 2025 04:12
@github-project-automation github-project-automation bot moved this to Inbox in v6.0.0 Dec 17, 2025
@mdo mdo merged commit 7f8ba31 into v6-dev Dec 17, 2025
12 checks passed
@mdo mdo deleted the v6/floating-ui branch December 17, 2025 17:23
mdo added a commit that referenced this pull request Jan 9, 2026
* Migrate to Floating UI for tooltips, popovers, dropdowns

* Bump bundlewatch

* Dropdown tests

* add floating ui tests from claude

* more

* build sri

* more tests while here
@Remzi1993
Copy link
Copy Markdown

@mdo I understand this is an old merge request, but I would like to highlight that it would have been better if developers who use Bootstrap (like me) could independently update Floating UI, otherwise we're all depended on Bootstrap to keep up to date with Floating UI, while if it was shipped as an optional add on you need to install yourself then it would be much easier for us to keep it up to date. It would also lessen the burden on the Bootstrap team.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Inbox

Development

Successfully merging this pull request may close these issues.

2 participants