Skip to content

KeyboardToolbar persists after keyboard dismiss + KeyboardAwareScrollView doesn't scroll to focused input (Expo 55 / RN 0.83 / Fabric) #1411

@imckain

Description

@imckain

Describe the bug
After upgrading to Expo SDK 55 (React Native 0.83.2, Fabric/New Architecture, react-native-reanimated 4.2.1), two components are broken:

  1. KeyboardToolbar remains visible on screen after the keyboard is dismissed. The translateY transform on the underlying KeyboardStickyView gets stuck at the "keyboard open" position and never resets.
  2. KeyboardAwareScrollView does not auto-scroll to the focused TextInput when the keyboard appears. The content stays in place as if no keyboard event was received.

Additionally, this warning appears in the console logs:

Can not attach worklet handlers for `react-native-keyboard-controller` because view tag can not be resolved. Be sure that `KeyboardProvider` is fully mounted before registering handlers.

This suggests the native KeyboardControllerView isn't resolving its view tag before worklet handlers attempt to attach, meaning keyboard events may not be propagating at all.

Code snippet

// KeyboardToolbar usage (currently returning null as workaround)
import { KeyboardToolbar as RNKeyboardToolbar } from 'react-native-keyboard-controller';

// Renders outside the scroll view, sibling to ModalScreenWrapper
<>
  <KeyboardAwareScrollView>{/* form content */}</KeyboardAwareScrollView>
  <KeyboardToolbar />
</>

Repo for reproducing
I will add if I can get time

To Reproduce

  • Wrap app in KeyboardProvider
  • Render KeyboardToolbar as a sibling to a scroll view containing TextInput fields
  • Tap a TextInput to open the keyboard
  • Dismiss the keyboard
  • Observe: toolbar remains visible, scroll view never adjusted

Expected behavior

  • KeyboardToolbar should slide down and hide when the keyboard dismisses
  • KeyboardAwareScrollView should auto-scroll to keep the focused input visible above the keyboard

Smartphone (please complete the following information):

  • Desktop OS: [MacOS 15.7.5]
  • Device: [iPhone 16, iOS sim]
  • OS: [iOS 26.x]
  • RN version: [83.2]
  • RN architecture: [fabric]
  • JS engine: [Hermes]
  • Library version: [1.21.2]

Additional context

Metadata

Metadata

Assignees

Labels

KeyboardAwareScrollView 📜Anything related to KeyboardAwareScrollView componentKeyboardToolbarAnything related to KeyboardToolbar component

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions