react / react/react-native

keyboard is closed immediately when removeClippedSubviews in ScrollView set to true

Open
#37,431 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

API: Keyboard Component: ScrollView Issue: Author Provided Repro
Dominant language
C++
Stars
127k
Forks
25.3k
Avg merge
1d 23h
Merged PRs (30d)
4

Description

Description

removeClippedSubviews set to true then the Textinput at the bottom (covered by the keyboard) when clicked, the keyboard will be closed immediately. I just tried it on Android

React Native Version

0.71.7

Output of npx react-native info

https://snack.expo.dev/@zhenguet/bugreport

Steps to reproduce

Element "TextInput" inside "ScrollView", and when you click it at the bottom, the keyboard will automatically collapse.
'TextInput' at the top works properly

Snack, code example, screenshot, or link to a repository

https://snack.expo.dev/@zhenguet/bugreport

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by running the linked Snack reproduction on Android with React Native 0.71.7. Investigate the ScrollView and TextInput interaction when removeClippedSubviews is true and the input is at the bottom under the keyboard. Done means the keyboard remains open when that TextInput is selected while top inputs continue to work.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, react-native
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.