Skip to content

Commit c0b1c9b

Browse files
committed
Fix multiple open dropdowns bug
1 parent b1d25d5 commit c0b1c9b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/Components/Dropdowns/Dropdown.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,6 @@ class Dropdown extends React.Component {
120120
: this.identifier;
121121

122122
const onPress = e => {
123-
e.preventDefault();
124-
125123
if (children[0].props.onPress) {
126124
children[0].props.onPress(e);
127125
}

0 commit comments

Comments
 (0)