Skip to content

Custom element for initial focus when opening a popover #915

Answered by benoitgrelard
arequejo asked this question in Help
Discussion options

You must be logged in to vote

Hi @arequejo, yes you can use the onOpenAutoFocus prop and prevent our default behaviour (event.preventDefault) and run your own focus then instead.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@arequejo
Comment options

Answer selected by arequejo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants