Skip to content

Commit 867e64f

Browse files
author
tfomkin
committed
fix: ios paddings fix
1 parent bbebc0f commit 867e64f

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

libs/mobile/shared/ui/ui-kit/src/keyboard-controller-view/component.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export function AppKeyboardControllerView({
2222
}: AppKeyboardControllerViewProps): ReactElement {
2323
const { top } = useSafeAreaInsets();
2424
const verticalOffset = Platform.select({
25-
ios: isInBottomSheet ? top : top + 8,
25+
ios: isInBottomSheet ? top : 16,
2626
android: isInBottomSheet ? 85 : 16,
2727
});
2828

libs/mobile/shared/utils/use-bottom-inset/src/use-bottom-inset.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ export function useBottomInset(minPadding = 24): number {
99
return Math.max(bottom, minPadding) + visualPadding;
1010
}
1111

12-
return bottom + visualPadding;
12+
return bottom;
1313
}

0 commit comments

Comments
 (0)