Skip to content

KeyboardAwareScrollView not auto scrolling to cursor when we type and the cursor is out of view from top of the screen. #1341

@nicolaosm

Description

@nicolaosm

Describe the bug
KeyboardAwareScrollView not auto scrolling to cursor when we type and the cursor is out of view from top of the screen.

Code snippet
Added a new clear repo to demonstrate the issue.

Repo for reproducing
Repo: https://github.com/nicolaosm/broken-keyboard/

To Reproduce
Steps to reproduce the behavior:

  1. Add caret anywhere on the text.
  2. Scroll so that the caret is outside of the view from UP.
  3. Type something -> It does not auto scroll to show us where it typed.

Expected behavior
When we type, the view will autoscroll to show us where the cursor is typing. It works fine when the cursor is outside of the view from the bottom, but it does not work when the cursor is outside from the top.

Screenshots
Video: https://cln.sh/mCZ5CN1v

Smartphone (please complete the following information):

Desktop OS: MacOS 26.3
Device: Phone17 Pro Max. (Simulator and Device)
OS: iOS 26.2
RN version: 0.83
RN architecture: New
JS engine: [e.g. JSC, Hermes, v8]
Library version: Commit: #376b27a

Additional context
None.

Metadata

Metadata

Assignees

Labels

KeyboardAwareScrollView 📜Anything related to KeyboardAwareScrollView componentrepro providedIssue contains reproduction repository/codesponsor 💖Someone pays money for the issue to be resolved 💸🌎 modalAnything that involves Modal usage🐛 bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions