You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to add keyboard shortcuts (like select-all ("meta+a"), select-none ("esc")) in a react-selecto instance.
Is there a way to handle this with Selecto? Currently I don't see a way - the onSelect handler ends up with a state mismatch, because there's no hook for synchronising internal state with external state.
The text was updated successfully, but these errors were encountered:
tomelliot
changed the title
How to support keyboard shortcuts?
How to support keyboard shortcuts? (react-selecto)
Jun 11, 2024
I'm trying to add keyboard shortcuts (like select-all ("meta+a"), select-none ("esc")) in a
react-selecto
instance.Is there a way to handle this with Selecto? Currently I don't see a way - the
onSelect
handler ends up with a state mismatch, because there's no hook for synchronising internal state with external state.The text was updated successfully, but these errors were encountered: