Skip to content

Commit aedd852

Browse files
committed
use _toggleItem on chips - fixes some bugs with highlighting
1 parent af01e8b commit aedd852

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/sectioned-multi-select.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -822,7 +822,7 @@ class SectionedMultiSelect extends PureComponent {
822822
onPress={() => {
823823
isParent && parentChipsRemoveChildren
824824
? this._toggleChildren(item)
825-
: this._removeItem(item)
825+
: this._toggleItem(item, isParent)
826826
}}
827827
style={{
828828
borderTopRightRadius: 20,

0 commit comments

Comments
 (0)