Skip to content

Commit

Permalink
Update to padding
Browse files Browse the repository at this point in the history
  • Loading branch information
mountiny committed Oct 13, 2023
1 parent babd7a6 commit c56634a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/workspace/WorkspaceNewRoomPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -176,8 +176,8 @@ function WorkspaceNewRoomPage(props) {
>
{({insets}) => (
<KeyboardAvoidingView
style={{height: '100%'}}
behavior="height"
style={styles.h100}
behavior="padding"
// Offset is needed as KeyboardAvoidingView in nested inside of TabNavigator instead of wrapping whole screen.
// This is because when wrapping whole screen the screen was freezing when changing Tabs.
keyboardVerticalOffset={variables.contentHeaderHeight + variables.tabSelectorButtonHeight + variables.tabSelectorButtonPadding + insets.top}
Expand Down

0 comments on commit c56634a

Please sign in to comment.