We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 395c05e commit cdf1d53Copy full SHA for cdf1d53
1 file changed
src/index.js
@@ -295,13 +295,9 @@ export default class RNPickerSelect extends PureComponent {
295
onOpen();
296
}
297
298
- if (showPicker && onClose) {
299
- onClose(donePressed);
300
- }
301
-
302
if (showPicker) {
303
if (onClose) {
304
- onClose();
+ onClose(donePressed);
305
306
307
// If the picker is currently shown, toggling it will start closing
0 commit comments