Skip to content

Commit

Permalink
Merge pull request #50581 from Nodebrute/fixinvitebutton
Browse files Browse the repository at this point in the history
workspace invite submit
  • Loading branch information
aldo-expensify authored Oct 21, 2024
2 parents 16e3620 + e52d3e9 commit acebcb7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/pages/workspace/WorkspaceInviteMessagePage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import withCurrentUserPersonalDetails from '@components/withCurrentUserPersonalD
import useAutoFocusInput from '@hooks/useAutoFocusInput';
import useLocalize from '@hooks/useLocalize';
import useThemeStyles from '@hooks/useThemeStyles';
import useViewportOffsetTop from '@hooks/useViewportOffsetTop';
import Navigation from '@libs/Navigation/Navigation';
import * as OptionsListUtils from '@libs/OptionsListUtils';
import Parser from '@libs/Parser';
Expand Down Expand Up @@ -47,6 +48,7 @@ function WorkspaceInviteMessagePage({policy, route, currentUserPersonalDetails}:
const styles = useThemeStyles();
const {translate} = useLocalize();

const viewportOffsetTop = useViewportOffsetTop();
const [welcomeNote, setWelcomeNote] = useState<string>();

const {inputCallbackRef, inputRef} = useAutoFocusInput();
Expand Down Expand Up @@ -131,6 +133,8 @@ function WorkspaceInviteMessagePage({policy, route, currentUserPersonalDetails}:
<ScreenWrapper
includeSafeAreaPaddingBottom={false}
testID={WorkspaceInviteMessagePage.displayName}
shouldEnableMaxHeight
style={{marginTop: viewportOffsetTop}}
>
<HeaderWithBackButton
title={translate('workspace.inviteMessage.inviteMessageTitle')}
Expand Down

0 comments on commit acebcb7

Please sign in to comment.