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.
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.