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

Flatlist freezes after closing the modal window (iOS) #36298

Closed
R0LLeX opened this issue Feb 26, 2023 · 2 comments
Closed

Flatlist freezes after closing the modal window (iOS) #36298

R0LLeX opened this issue Feb 26, 2023 · 2 comments

Comments

@R0LLeX
Copy link

R0LLeX commented Feb 26, 2023

Description

Sometimes, after closing the modal window, all the content that is inside the flatlist freezes, while everything that is outside the flatlist is completely clickable and workable. Only restarting the application helps. This problem appeared after updating RN from 0.70.5 to 0.71.1
react-native-reanimated from 2.14.1 to 2.14.4 (with version 3.0.0-rc.10 also freezes)

React Native Version

0.71.1

Output of npx react-native info

System:
OS: macOS 12.5
CPU: (4) x64 Intel(R) Core(TM) i7-6600U CPU @ 2.60GHz
Memory: 5.85 GB / 20.00 GB
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 18.7.0 - /var/folders/cz/lxmgg7bd08lf1m_bsjpw4ml80000gn/T/yarn--1677430909452-0.38245306054555117/node
Yarn: 1.22.19 - /var/folders/cz/lxmgg7bd08lf1m_bsjpw4ml80000gn/T/yarn--1677430909452-0.38245306054555117/yarn
npm: 8.15.0 - ~/.nvm/versions/node/v18.7.0/bin/npm
Watchman: 2022.12.05.00 - /usr/local/bin/watchman
Managers:
CocoaPods: 1.11.3 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 22.1, iOS 16.1, macOS 13.0, tvOS 16.1, watchOS 9.1
Android SDK: Not Found
IDEs:
Android Studio: 2022.1 AI-221.6008.13.2211.9514443
Xcode: 14.1/14B47b - /usr/bin/xcodebuild
Languages:
Java: 11.0.16.1 - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 18.2.0 => 18.2.0
react-native: 0.71.1 => 0.71.1
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found

Steps to reproduce

no answer

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

no answer

@github-actions
Copy link

⚠️ Newer Version of React Native is Available!
ℹ️ You are on a supported minor version, but it looks like there's a newer patch available. Please upgrade to the highest patch for your minor or latest and verify if the issue persists (alternatively, create a new project and repro the issue in it). If it does not repro, please let us know so we can close out this issue. This helps us ensure we are looking at issues that still exist in the most recent releases.

@manosKas
Copy link

manosKas commented Sep 25, 2023

Happens to me too. if anyone knows anything it would be helpfull!

i suspect that it occurs either when a modal is shown and then dismissed, or when opening another app from within my app, like for example, when you press a link and safari opens up and then I return back to my app, some flatlist items are unresponsive.

Also, this happens only on iPads, more specifically, on 2 that tested so far: pro 3rd gen 2018 and pro 6th gen 2022

To elaborate, in my app, the screen that has this issue is a bit complex. Imagine a split screen like layout, with a vertical list on the left side of the screen and a horizontal list on the right side like a pager view. the whole thing is like the gmail app that you browse through emails so the left vertical list is the message list and the left part of the screen are the webviews to inspect the message body, header etc.

The freeze happens on either flatlists (left vertical, right horizontal).

This screen is not on the same on phones as there is less screen space so, I only load the vertical list in one screen and opens a new screen with the horizontal list to inspect the message and swipe to prev/next.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants