Skip to content

Commit ab8e271

Browse files
committed
backdrop onPress was firing on non-touchable parts of list.
1 parent aedd852 commit ab8e271

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

lib/sectioned-multi-select.js

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -960,8 +960,15 @@ class SectionedMultiSelect extends PureComponent {
960960
onRequestClose={this._closeSelector}
961961
>
962962
<this.BackdropView
963-
style={[{ flex: 1, backgroundColor: 'rgba(0,0,0,0.5)' }, styles.backdrop]}
964-
>
963+
style={[{
964+
flex: 1,
965+
width: '100%',
966+
height: '100%',
967+
position: 'absolute',
968+
backgroundColor: 'rgba(0,0,0,0.5)',
969+
zIndex: 0
970+
}, styles.backdrop]}
971+
/>
965972
<View
966973
style={[
967974
{
@@ -1101,7 +1108,6 @@ class SectionedMultiSelect extends PureComponent {
11011108
</View>
11021109
{stickyFooterComponent && callIfFunction(stickyFooterComponent)}
11031110
</View>
1104-
</this.BackdropView>
11051111
</Modal>
11061112
{chipsPosition === 'top' && this._renderChips()}
11071113
{chipsPosition === 'top' && this._customChipsRenderer()}

0 commit comments

Comments
 (0)