Keep Keyboard.dismiss() for alt text dialog
The alt text dialog needs keyboard dismissal since it has its own text input that conflicts with the composer's keyboard. https://claude.ai/code/session_011cNDhEb2cDgg5QbVuzEyH1
This commit is contained in:
@@ -2,6 +2,7 @@ import React, {useState} from 'react'
|
|||||||
import {
|
import {
|
||||||
findNodeHandle,
|
findNodeHandle,
|
||||||
type ImageStyle,
|
type ImageStyle,
|
||||||
|
Keyboard,
|
||||||
type LayoutChangeEvent,
|
type LayoutChangeEvent,
|
||||||
StyleSheet,
|
StyleSheet,
|
||||||
TouchableOpacity,
|
TouchableOpacity,
|
||||||
@@ -164,6 +165,7 @@ const GalleryItem = ({
|
|||||||
}
|
}
|
||||||
|
|
||||||
const onAltTextEdit = () => {
|
const onAltTextEdit = () => {
|
||||||
|
Keyboard.dismiss()
|
||||||
altTextControl.open()
|
altTextControl.open()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user