Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(FocusTrap): focus methods should accept focus origin #30032

Open
keatkeat87 opened this issue Nov 18, 2024 · 0 comments
Open

feat(FocusTrap): focus methods should accept focus origin #30032

keatkeat87 opened this issue Nov 18, 2024 · 0 comments
Labels
feature This issue represents a new feature or feature request rather than a bug or bug fix needs triage This issue needs to be triaged by the team

Comments

@keatkeat87
Copy link

Feature Description

Similar to this issue feat(FocusTrap): focus methods should accept focus options #21767

those methods should accept FocusOrign too

focusFirstTabbableElement()
focusFirstTabbableElementWhenReady()
focusInitialElement()
focusInitialElementWhenReady()
focusLastTabbableElement()
focusLastTabbableElementWhenReady()

Use Case

Every focus-related method should allow to set focus options and origin.

@keatkeat87 keatkeat87 added feature This issue represents a new feature or feature request rather than a bug or bug fix needs triage This issue needs to be triaged by the team labels Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature This issue represents a new feature or feature request rather than a bug or bug fix needs triage This issue needs to be triaged by the team
Projects
None yet
Development

No branches or pull requests

1 participant