segmentio / evergreen

🌲 Evergreen React UI Framework by Segment
https://evergreen.segment.com
MIT License
12.39k stars 832 forks source link

v6 Docs - SelectMenu multiselect - deselect example does not work #1211

Closed psiho closed 3 years ago

psiho commented 3 years ago

Well, title says it all. Deselcting does not work in this example: https://evergreen.segment.com/components/select-menu#multiselect_with_deselect_example

psiho commented 3 years ago

I guess lines 33 and 51 should both be: setSelectedItems(selectedItems);

akleiner2 commented 3 years ago

You are absolutely right - good spot. Fix in #1213