Skip to content

Commit c58d4b5

Browse files
authored
fix(package): Fix ios picker removal
1 parent a6d1edf commit c58d4b5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/withPickerValues/KeyboardModal.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ const removeKeyboardModalComponent = () => {
6262

6363
if (keyboardModalCount === 0) {
6464
if (keyboardDidShowListener) keyboardDidShowListener.remove();
65-
if (keyboardModalInstance) keyboardModalInstance.remove();
65+
if (keyboardModalInstance) keyboardModalInstance.destroy();
6666
}
6767
};
6868

0 commit comments

Comments
 (0)