charlie-yao / react-aria-widgets

Implementations of WAI-ARIA widgets and design patterns in React.
MIT License
2 stars 0 forks source link

Allow passing parameters to accordion focus() calls #169

Open charlie-yao opened 1 year ago

charlie-yao commented 1 year ago

https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus

HTMLElement.focus() accepts a couple parameters, and it might be nice to be able to pass them in.