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
My use case is, I need to deselect all the selection at some point. The only way to do this right now is a <DeselectAll/> button. Is there a function for the same that I can do outside the <SelectableGroup /> (without using <DeselectAll/> as a ref )?
The text was updated successfully, but these errors were encountered:
vickyvishal
changed the title
Deselect on onSelectionFinish
Deselect on onSelectionFinish(similar to #40)
Aug 7, 2020
This worked for me, with the added caveat that I needed current in my ref: (selectableGroupRef.current.clearSelection()). I defined my selectableGroupRef = useRef()
My use case is, I need to deselect all the selection at some point. The only way to do this right now is a
<DeselectAll/>
button. Is there a function for the same that I can do outside the<SelectableGroup />
(without using<DeselectAll/>
as a ref )?The text was updated successfully, but these errors were encountered: