Allow to re-focus element on closing popover #2858
blitzbohne
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Currently its possible to call close(ref) manually to re-focus which is fine.
However when the popover auto-closes ie by clicking outside its not possible to do so.
I'd propose either an event like onClose to handle it or a focusRef property that'll always focus the ref when given when closing.
Beta Was this translation helpful? Give feedback.
All reactions