feat(FocusTrap): focus methods should accept focus origin #30032
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
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.
The text was updated successfully, but these errors were encountered: