Open
Description
In the documentation for a11y-dialog, it mentions that the library will look for an input with the autofocus
property set when opening the dialog, however React doesn't support this property directly, instead requiring the use of autoFocus
(notice the camel case), which doesn't render in the html and polyfills the autofocus behaviour provided by the browser. This of course doesn't seem to work with this library. Is there another method I can use to get autofocus behaviour in React aside from storing a ref to my input?
Metadata
Assignees
Labels
No labels