Skip to content

Commit 85570ae

Browse files
committed
fix: bottom sheet modal listeners
1 parent 19e8452 commit 85570ae

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

package/src/components/UIComponents/BottomSheetModal.tsx

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -380,11 +380,6 @@ const BottomSheetModalInner = (props: PropsWithChildren<BottomSheetModalProps>)
380380
Keyboard.addListener('keyboardWillShow', keyboardDidShowRN),
381381
Keyboard.addListener('keyboardWillHide', keyboardDidHide),
382382
);
383-
} else {
384-
listeners.push(
385-
Keyboard.addListener('keyboardDidShow', keyboardDidShowRN),
386-
Keyboard.addListener('keyboardDidHide', keyboardDidHide),
387-
);
388383
}
389384

390385
return () => listeners.forEach((l) => l.remove());

0 commit comments

Comments
 (0)