meliorence / meliorence/react-native-snap-carousel
App freezes when we go back from the screen which uses this library
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 10.5k
- Forks
- 2.3k
- PR merge metrics
- No merged PRs in 30d
Description
Is this a bug report, a feature request, or a question?
(Bug report)
Have you followed the required steps before opening a bug report?
(Check the step you've followed - put an x character between the square brackets ([]).)
- I have read the guidelines regarding bug report.
- I have reviewed the documentation in its entirety, including the dedicated documentations 📚.
- I have searched for existing issues and made sure that the problem hasn't already been reported.
- I am using the latest plugin version.
- I am following the issue template closely in order to produce a useful bug report.
Have you made sure that it wasn't a React Native bug?
(yes.)
Is the bug specific to iOS or Android? Or can it be reproduced on both platforms?
(The bug specific to iOS and iOS versions: 14.3)
Is the bug reproductible in a production environment (not a debug one)?
(Reproduce on both.)
Environment
Environment:
React: 17.0.2
React native: 0.65.1
react-native-snap-carousel: ^3.9.1
"@react-navigation/bottom-tabs": "^6.0.7",
"@react-navigation/native": "^6.0.4",
"@react-navigation/stack": "^6.0.9",
Target Platform:
iOS (14.3)
Expected Behavior
(The app should not freeze when going back to the tab screens)
Actual Behavior
(The app is freezing when going back from the screen which uses this library to the tab screens, when we remove this library app is working fine)
Reproducible Demo
I think it do not need the reproducible link
Steps to Reproduce
(Write your steps so that anyone can reproduce the issue in the Snack demo you provided.)
- Create a StackNavigator, inside create 2 screens 1 having tabNavigator the initial route and second will be a screen which uses this library.
- When we go back from second screen which uses this library it goes back but freezes the application.
- When we remove library it works fine.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the freeze with the described StackNavigator and tabNavigator flow on iOS 14.3, using React Native 0.65.1 and react-native-snap-carousel 3.9.1; compare it with the library removed. Done means navigating back from the library screen to the tab screens no longer freezes the app.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react-native
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100