Skip to content

Bump @floating-ui/dom from 1.7.6 to 1.8.0 - #42892

Open
julien-deramond wants to merge 1 commit into
v6-devfrom
bump-floating-ui-dom-1.8.0
Open

Bump @floating-ui/dom from 1.7.6 to 1.8.0#42892
julien-deramond wants to merge 1 commit into
v6-devfrom
bump-floating-ui-dom-1.8.0

Conversation

@julien-deramond

@julien-deramond julien-deramond commented Sep 1, 2026

Copy link
Copy Markdown
Member

Summary

  • Bumps @floating-ui/dom from ^1.7.6 to ^1.8.0 in peerDependencies and devDependencies (package.json, package-lock.json).
  • Updates the pinned jsDelivr CDN URL for @floating-ui/dom in config.yml, used by the import-map examples in the docs.

Impact

This is a semver-minor release (1.8.0 release notes). No breaking changes for Menu, Tooltip, Popover, or Combobox.

  • New (unused by us): rootBoundary: 'layoutViewport' option — stays stable during pinch-zoom or when a mobile keyboard opens, unlike 'viewport'. We don't expose this option today, so it has no effect on current behavior.
  • Bug fixes that improve our components:
    • autoUpdate now refreshes immediately on reference movement instead of waiting for the 1s layout-shift throttle, and its layout-shift observer refreshes correctly on root resize. Benefits Tooltip, Popover, and Menu, which rely on autoUpdate.
    • Clipping-ancestor detection is fixed for fixed-position elements, and scrollbar-gutter: stable (including both-edges) is now accounted for in viewport/clipping calculations. Improves positioning accuracy for boundary: 'clippingParents', our default.
    • inline() middleware no longer throws when a virtual element lacks getClientRects.
  • Perf: smaller bundle size and less redundant per-call work in the core/dom positioning utilities.

Our peerDependencies range was already ^1.7.6, so this bump doesn't change what consumers can install — it only updates our own dev/CI copy and the CDN-pinned version shown in docs examples.

Verification

  • npm run js-lint — passes (pre-existing warnings only)
  • npm run js-compile — builds cleanly against 1.8.0
  • Browser-mode unit tests could not run in this environment (missing Playwright browser binary); no code changes were needed beyond the version bumps.

Updates the peer/dev dependency and the jsDelivr CDN pin in config.yml
used by the import-map docs examples.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@julien-deramond
julien-deramond marked this pull request as ready for review September 1, 2026 19:15
@julien-deramond julien-deramond changed the title Bump @floating-ui/dom to 1.8.0 Bump @floating-ui/dom from 1.7.6 to 1.8.0 Sep 1, 2026
@julien-deramond
julien-deramond requested a review from mdo September 1, 2026 19:17
@julien-deramond

Copy link
Copy Markdown
Member Author

On my end, I think it can be merged without any issues. If you feel the same, @mdo, and you don’t think it’s too risky for the upcoming alpha (depending on when you’re planning to release it), feel free to merge directly.

Once it’s merged, I’ll update twbs/examples#997 accordingly.

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.

1 participant