Packages

@floating-ui/react-dom

2.1.9 · 11 Jul 2026MIT112.9M / weekRepositoryHomepagenpmAtom feed

Upgrading @floating-ui/react-dom From 1.3.0 to 2.0.0

1 release in betweenevery note read

Other targets from 1.3.0Latest2.1.9
  1. 1.3.0yours
  2. 2.0.0target
3
changes to make
0
advisories fixed
2
new
1
fix

Before you upgrade

Tick each one off as you go
  • breaking2.0.0
  • breaking2.0.0
  • breaking2.0.0

Release by release

  1. 2.0.0

    Migration needed30 Apr 20232 new · 1 fix
    • breaking

      Default x and y coordinates to 0 instead of null

    • breaking

      Remove deprecated top-level reference and floating ref setters

    • breaking

      whileElementsMounted type requires cleanup function

    • new

      floatingStyles object

    • new

      External element synchronization in the hook

    • fixed

      types: Allow null for arrow's element option