Fix iPad hw keyboard overlapping input (#8815)

This commit is contained in:
Daniel Espino García 2025-05-05 11:42:38 +02:00 committed by GitHub
parent c8d6175d74
commit 738681a69a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -183,9 +183,6 @@ const ExtraKeyboardComponent = () => {
const animatedStyle = useAnimatedStyle(() => {
let height = keyb.height.value + offset;
if (keyb.height.value < 70) {
height = 0; // When using a hw keyboard
}
if (context?.isExtraKeyboardVisible) {
height = withTiming(maxKeyboardHeight.value, {duration: 250});
} else if (keyb.state.value === KeyboardState.CLOSED || keyb.state.value === KeyboardState.UNKNOWN) {