Skip to content

Add: FloatingFocusManager component #13

Open
@endigo9740

Description

@endigo9740

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

Metadata

Metadata

Assignees

Labels

feature requestRequest a new feature to add.help wantedExtra attention is needed

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions