make alt text input full height
This commit is contained in:
@@ -29,10 +29,12 @@ export const ImageAltTextDialog = ({
|
|||||||
onChange,
|
onChange,
|
||||||
}: Props): React.ReactNode => {
|
}: Props): React.ReactNode => {
|
||||||
const [altText, setAltText] = React.useState(image.alt)
|
const [altText, setAltText] = React.useState(image.alt)
|
||||||
|
const {height} = useWindowDimensions()
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Dialog.Outer
|
<Dialog.Outer
|
||||||
control={control}
|
control={control}
|
||||||
|
nativeOptions={{minHeight: height}}
|
||||||
onClose={() => {
|
onClose={() => {
|
||||||
onChange({
|
onChange({
|
||||||
...image,
|
...image,
|
||||||
|
|||||||
Reference in New Issue
Block a user