New FocusEvent property for getting the FocusOptions #9322
Labels
addition/proposal
New features or enhancements
needs implementer interest
Moving the issue forward requires implementers to express interest
topic: focus
The HTMLElement.focus() method has defined FocusOptions: preventScroll, focusVisible and maybe more in future.
Is it possible to add a new property in FocusEvent to get the options?
A possible example:
Using custom focus scroll behavior such as scrollIntoViewIfNeeded.
I need to get the preventScroll to decide whether to execute custom scroll.
The text was updated successfully, but these errors were encountered: