Skip to content

Commit f2f537c

Browse files
committed
fix: remove padding animatino
1 parent e4f0ce9 commit f2f537c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

package/src/components/UIComponents/BottomSheetModal.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,8 +253,7 @@ export const BottomSheetModal = (props: PropsWithChildren<BottomSheetModalProps>
253253
}, [visible, animateKeyboardOffset, keyboardDidHide, keyboardDidShowRN]);
254254

255255
const sheetViewportAnimatedStyle = useAnimatedStyle(() => ({
256-
transform: [{ translateY: sheetTranslateY.value }],
257-
paddingBottom: sheetTranslateY.value,
256+
transform: [{ translateY: sheetTranslateY.value - keyboardOffset.value }],
258257
}));
259258

260259
const overlayAnimatedStyle = useAnimatedStyle(() => {

0 commit comments

Comments
 (0)