floating-ui-svelte icon indicating copy to clipboard operation
floating-ui-svelte copied to clipboard

Add: FloatingFocusManager component

Open endigo9740 opened this issue 1 year ago • 1 comments

Reference

https://floating-ui.com/docs/FloatingFocusManager

Description

Provides flexible modal or non-modal focus management for a floating element. Modal behavior is the default — focus is fully trapped inside the floating element while it is rendered. This is necessary to ensure that focus is properly managed for keyboard interaction.

Props

  • [ ] context
  • [ ] disabled
  • [ ] initialFocus
  • [ ] returnFocus
  • [ ] guards
  • [ ] modal
  • [ ] visuallyHiddenDismiss
  • [ ] closeOnFocusOut
  • [ ] order

Troubleshoot

https://floating-ui.com/docs/FloatingFocusManager#page-scrolls-to-top-when-opening-the-floating-element

endigo9740 avatar Apr 25 '24 00:04 endigo9740

volunteering as tribute.

huntabyte avatar Dec 29 '24 22:12 huntabyte