Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[IOS] ScrollView with textinput / touchalbeOpacity causes weird scroll position behavior and flickering #2590

Open
bumjin1013 opened this issue Dec 27, 2024 · 6 comments
Assignees
Labels
Missing repro This issue need minimum repro scenario Platform: iOS This issue is specific to iOS

Comments

@bumjin1013
Copy link

bumjin1013 commented Dec 27, 2024

ScreenRecording_12-27-2024.16-51-08_1.MP4

Description

After enabling the new architecture, upgrading navigation to v7, and upgrading to react-native-screens v4.4.0, the following issues occur:

When a ScrollView contains a TextInput or TouchableOpacity, the scroll behaves abnormally, and the components are re-rendered incorrectly (flickering).

This issue is only observed on iOS and does not occur on Android. The app was working fine before upgrading the React Native version, as well as the versions of react-native-screens and react-navigation.

  • Everything was ok before using EnableNewArchitecture = false

react-native: v0.76.4
react-native-screens: v4.4.0
"@react-navigation/bottom-tabs": "^7.2.0",
"@react-navigation/material-top-tabs": "^7.1.0",
"@react-navigation/native": "^7.0.14",
"@react-navigation/native-stack": "^7.2.0",

Steps to reproduce

  1. use rn 0.76.4, rn-screens v4.4.0, react-navigation v7
  2. make scrollView with textinput

Snack or a link to a repository

non

Screens version

4.4.0

React Native version

0.76.4

Platforms

iOS

JavaScript runtime

JSC

Workflow

React Native (without Expo)

Architecture

Fabric (New Architecture)

Build type

Debug mode

Device

Real device

Device model

iphone 15 pro

Acknowledgements

Yes

@github-actions github-actions bot added Platform: iOS This issue is specific to iOS Missing repro This issue need minimum repro scenario labels Dec 27, 2024
Copy link

Hey! 👋

The issue doesn't seem to contain a minimal reproduction.

Could you provide a snack or a link to a GitHub repository under your username that reproduces the problem?

@bumjin1013 bumjin1013 reopened this Dec 27, 2024
@bumjin1013 bumjin1013 changed the title [IOS] ScrollView with TextInput causes weird scroll position behavior [IOS] ScrollView with textinput / touchalbeOpacity causes weird scroll position behavior Dec 27, 2024
@bumjin1013 bumjin1013 changed the title [IOS] ScrollView with textinput / touchalbeOpacity causes weird scroll position behavior [IOS] ScrollView with textinput / touchalbeOpacity causes weird scroll position behavior and flickering Dec 27, 2024
@kkafar kkafar self-assigned this Dec 30, 2024
@leo0grau
Copy link

leo0grau commented Jan 8, 2025

I am having this same problem, there is any solution ?

@bumjin1013
Copy link
Author

@leo0grau you can use react-navigation/stack or disable newarchitecture.

@khedewyAmj
Copy link

i have the same problem too with scroll view
"react-native": "0.76.3",

@leo0grau
Copy link

leo0grau commented Jan 23, 2025

@khedewyAmj , i solved this problem creating a custom header, it solved for me

@khedewyAmj
Copy link

@leo0grau Yes , i solved it with remove header left or right i was put in code with use the header it's works fine , thanks you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Missing repro This issue need minimum repro scenario Platform: iOS This issue is specific to iOS
Projects
None yet
Development

No branches or pull requests

4 participants