floating-ui

A JavaScript library to position floating elements and create interactions for them.

MIT License

Downloads
202.3M
Stars
28.6K
Committers
104

Bot releases are visible (Hide)

floating-ui - @floating-ui/[email protected]

Published by github-actions[bot] 11 months ago

Patch Changes

  • 9170b9e6: fix(useDismiss): targetRootAncestor check for third party outside
    presses

    The Grammarly extension no longer closes upon clicking when inside floating
    elements.

  • 66efdaf8: fix(FloatingFocusManager): return focus to last connected element

floating-ui - @floating-ui/[email protected]

Published by github-actions[bot] 12 months ago

Patch Changes

  • 9d22d831: fix: package type import
floating-ui - @floating-ui/[email protected]

Published by github-actions[bot] 12 months ago

Patch Changes

  • c1965f65: refactor: minor jsdoc/type improvements
floating-ui - @floating-ui/[email protected]

Published by github-actions[bot] 12 months ago

Patch Changes

  • c1965f65: refactor: minor jsdoc/type improvements
  • 3bd42f24: feat: reason strings as third param of onOpenChange
  • 14cb1681: fix(FloatingFocusManager): avoid returning focus to reference if
    focus moved elsewhere
  • 628fd119: feat(useRole): add label role
  • Updated dependencies [c1965f65]
floating-ui - @floating-ui/[email protected]

Published by github-actions[bot] about 1 year ago

Patch Changes

  • ac17abb7: feat(Composite): allow controlled mode with activeIndex and
    onNavigate props
  • c3bfd04e: fix(useFocus): improve visibleOnly detection
  • 43725a2c: feat(useDismiss): add capture option and default outsidePress to
    true
floating-ui - @floating-ui/[email protected]

Published by github-actions[bot] about 1 year ago

Patch Changes

  • 0debd691: fix: restore /react path
floating-ui - @floating-ui/[email protected]

Published by github-actions[bot] about 1 year ago

Patch Changes

  • 28659c4d: refactor: move react utils to @floating-ui/react/utils
floating-ui - @floating-ui/[email protected]

Published by github-actions[bot] about 1 year ago

Minor Changes

  • 0668ed61: feat(useFocus): replace keyboardOnly option with visibleOnly
    (matches :focus-visible CSS selector)

Patch Changes

  • 07d8e853: fix(useDismiss): handle dragging outside/inside floating element
    with click outsidePressEvent
  • 841eb03a: fix(useFocus): close on blur only if focus remains in document
  • e6d80efb: fix(FloatingFocusManager): treat untrapped combobox reference as
    non-modal guards
  • 4144204a: fix: virtual event check for Android
  • 28659c4d: refactor: move react utils to @floating-ui/react/utils
  • Updated dependencies [28659c4d]
floating-ui - @floating-ui/[email protected]

Published by github-actions[bot] about 1 year ago

Patch Changes

  • 3d8b9c65: fix(getOverflowAncestors): handle traverseIframes correctly when
    there are clipping ancestors in the inner frame
floating-ui - @floating-ui/[email protected]

Published by github-actions[bot] about 1 year ago

Minor Changes

  • d7e07fba: feat(arrow): add alignmentOffset data

Patch Changes

  • fd3c19ac: fix(flip): skip if arrow has performed internal shifting
floating-ui - @floating-ui/[email protected]

Published by github-actions[bot] about 1 year ago

Patch Changes

  • a6c72f50: fix(getOverflowAncestors): avoid traversing into iframes for
    clipping detection
floating-ui - @floating-ui/[email protected]

Published by github-actions[bot] about 1 year ago

Patch Changes

  • a6c72f50: fix(getOverflowAncestors): avoid traversing into iframes for
    clipping detection
  • Updated dependencies [a6c72f50]
  • Updated dependencies [0ef68ffa]
floating-ui - @floating-ui/[email protected]

Published by github-actions[bot] about 1 year ago

Patch Changes

  • 0ef68ffa: fix(arrow): perform a reset if internal shifting is performed

    This allows shift() to continue taking action when the arrow's internal
    shifting of the floating element is performed (preventing potential
    overflow/clipping of the floating element in certain scenarios), while still
    allowing the arrow to point toward the reference when it is small if possible.

  • Updated dependencies [a6c72f50]

floating-ui - @floating-ui/[email protected]

Published by github-actions[bot] about 1 year ago

Patch Changes

  • cb48d956: fix(dom): traverse into iframe parents when finding overflow
    ancestors
floating-ui - @floating-ui/[email protected]

Published by github-actions[bot] about 1 year ago

Patch Changes

  • 3426bc27: fix: traverse into iframe parents when finding overflow ancestors
floating-ui - @floating-ui/[email protected]

Published by atomiks about 1 year ago

Patch Changes

  • 8bf6e826: fix(Composite): loop false
  • 8d576645: feat(useListNavigation): support nested virtual navigation
floating-ui - @floating-ui/[email protected]

Published by atomiks about 1 year ago

Features

  • feat: add Composite components

Bug Fixes

  • fix(FloatingOverlay): avoid applying body padding if scrollbarWidth is 0
floating-ui - @floating-ui/[email protected]

Published by github-actions[bot] about 1 year ago

Bug Fixes

  • fix(types): import types from dom instead of core (#2513)
floating-ui - @floating-ui/[email protected]

Published by github-actions[bot] about 1 year ago

Bug Fixes

  • fix(FloatingOverlay): prevent multiple lockScrolls with delayed unmount from unexpectedly removing later lockScroll (#2508)

  • fix(FloatingFocusManager): keep modal focus trapped if reference is a combobox and initialFocus is not negative (#2509)

floating-ui - @popperjs/core v2.11.8

Published by FezVrasta about 1 year ago