Skip to content

Commit

Permalink
Merge pull request #53209 from margelo/fix/tax-screen-keyboard-issues
Browse files Browse the repository at this point in the history
[CP Staging] fix: remove additional keyboard padding in tax screen

(cherry picked from commit f1fb9c1)

(CP triggered by mountiny)
  • Loading branch information
mountiny authored and OSBotify committed Nov 27, 2024
1 parent 1a00440 commit dde9c58
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/components/TextPicker/usePaddingStyle/index.android.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
import useKeyboardState from '@hooks/useKeyboardState';
import useStyledSafeAreaInsets from '@hooks/useStyledSafeAreaInsets';

export default function usePaddingStyle() {
const {keyboardHeight} = useKeyboardState();
const {paddingTop} = useStyledSafeAreaInsets();

return {paddingTop, paddingBottom: keyboardHeight};
return {paddingTop};
}

0 comments on commit dde9c58

Please sign in to comment.