diff options
author | Hailey <me@haileyok.com> | 2024-05-23 10:01:31 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-23 10:01:31 -0700 |
commit | 5217876f241a991e55d789cd5faa8d8ab1890d1b (patch) | |
tree | 274a75717f646acb3a304bdac1710d7b5ea0e579 /src/components/moderation/LabelsOnMeDialog.tsx | |
parent | 3d1ed04a70aff9c08b713392ac0a4d3856ae16e9 (diff) | |
download | voidsky-5217876f241a991e55d789cd5faa8d8ab1890d1b.tar.zst |
Add padding to dialogs when keyboard is open on Android (#4182)
* add keyboard padding to android dialogs * missing `keyboardDismissMode` for `ScrollableInner` * add to `MutedWords` * add to `LabelsOnMe`
Diffstat (limited to 'src/components/moderation/LabelsOnMeDialog.tsx')
-rw-r--r-- | src/components/moderation/LabelsOnMeDialog.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/moderation/LabelsOnMeDialog.tsx b/src/components/moderation/LabelsOnMeDialog.tsx index 8583a226f..2923981fd 100644 --- a/src/components/moderation/LabelsOnMeDialog.tsx +++ b/src/components/moderation/LabelsOnMeDialog.tsx @@ -14,6 +14,7 @@ import * as Toast from '#/view/com/util/Toast' import {atoms as a, useBreakpoints, useTheme} from '#/alf' import {Button, ButtonIcon, ButtonText} from '#/components/Button' import * as Dialog from '#/components/Dialog' +import {KeyboardPadding} from '#/components/KeyboardPadding' import {InlineLinkText} from '#/components/Link' import {Text} from '#/components/Typography' import {Divider} from '../Divider' @@ -108,8 +109,8 @@ function LabelsOnMeDialogInner(props: LabelsOnMeDialogProps) { </View> </> )} - <Dialog.Close /> + <KeyboardPadding /> </Dialog.ScrollableInner> ) } |