You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ModalKeyboardAwareScrollView does not react to the keyboard on Expo SDK 58 #173
After the Expo SDK 58 upgrade (#172), KeyboardAwareScrollView from react-native-keyboard-controller does not react to the keyboard. With keyboard-controller 1.22.7 (the version Expo pins) and Reanimated 4.7, its worklet handlers don't attach ("view tag can not be resolved").
src/components/ui/modal-keyboard-aware-scroll-view.tsx wraps KeyboardAwareScrollView for @gorhom/bottom-sheet, so it is likely affected too. Not verified on device yet.
Impact
No screen in the template uses this component today (only its own test imports it). Projects generated from the template that put a form inside a bottom sheet would get a component that does not move with the keyboard.
Notes
Bumping to keyboard-controller 1.23.1 does not change the affected code path.
Forgot Password, Sign Up and Update Password are not affected: they use keyboard-controller's KeyboardAvoidingView with automaticOffset, verified on iOS and Android.
To do
Reproduce on iOS and Android with a form inside a bottom sheet using ModalKeyboardAwareScrollView.
Find the root cause (keyboard-controller, Reanimated or the createAnimatedComponent wrapping) and fix it, or find a working alternative.
Revisit if Expo bumps keyboard-controller or a fix lands upstream.
Fixed in #172 (commit dbfb25f). This issue closes when that PR merges.
The root cause wasn't keyboard-controller or Reanimated. NativeWind 4.1.21 (react-native-css-interop 0.1.20) overwrote the ref prop with undefined for components React Native 0.88 declares as plain functions (View, ScrollView, TextInput), so no host ref ever attached. That broke KeyboardAwareScrollView's handler registration ("view tag can not be resolved") and also kept every Modal from opening, including the language and theme pickers in Settings.
Fix:
nativewind 4.1.21 → 4.2.7 (css-interop 0.2.7 keeps the ref)
@gorhom/bottom-sheet 5.2.8 → 5.2.14 (with 5.2.8 the sheet reports index 0 but never appears)
ModalKeyboardAwareScrollView itself is unchanged
Verified on the iPhone 17 Pro simulator (iOS 26.2): a bottom sheet with a long form scrolls the focused field above the keyboard. Android not verified.
Activity
fernandatoledo commentedon Nov 20, 2026
Working on it
fix: restore refs and bottom sheets on React 19.3
fernandatoledo commentedon Nov 23, 2026
Fixed in #172 (commit dbfb25f). This issue closes when that PR merges.
The root cause wasn't keyboard-controller or Reanimated. NativeWind 4.1.21 (react-native-css-interop 0.1.20) overwrote the
refprop withundefinedfor components React Native 0.88 declares as plain functions (View,ScrollView,TextInput), so no host ref ever attached. That brokeKeyboardAwareScrollView's handler registration ("view tag can not be resolved") and also kept everyModalfrom opening, including the language and theme pickers in Settings.Fix:
nativewind4.1.21 → 4.2.7 (css-interop 0.2.7 keeps the ref)@gorhom/bottom-sheet5.2.8 → 5.2.14 (with 5.2.8 the sheet reportsindex 0but never appears)ModalKeyboardAwareScrollViewitself is unchangedVerified on the iPhone 17 Pro simulator (iOS 26.2): a bottom sheet with a long form scrolls the focused field above the keyboard. Android not verified.