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:
Claude
2026-02-28 22:36:07 +00:00
committed by Samuel Newman
parent f49b7308cb
commit 84ff3a5684
+2
View File
@@ -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()
} }