@floating-ui/dom
1.8.0 · 11 Jul 2026MIT149.8M / weekRepositoryHomepagenpmAtom feed
1.8.0 is the newest release of 1.x.
In short
1 fixed
Release note
Bug Fixes
Don't skip initial
ResizeObservercallback update inautoUpdateThis runs two updates on mount instead of one when
elementResizeis enabled. When dealing with frameworks that use inside-out (down-up) initialization of effects/rendering, like React, children are positioned before their parent positioned which meant they were positioned relative to the (0, 0) coordinates, which is incorrect. This problem only presents itself when the child and parent both try to position themselves at the same time on mount — for example, opening a menu and its submenu simultaneously.By not skipping this update, this issue isn't present since children reposition themselves after their parents have been positioned.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.