maxs15 / maxs15/react-native-modalbox

Cause crash when integrate with React Navigation @ 2

Open
#244 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
2.9k
Forks
496
PR merge metrics
No merged PRs in 30d

Description

I already created an issue in react-navigation repository. But I am not sure if it's react-navigation's issue. So I refer to it here.

https://github.com/react-navigation/react-navigation/issues/5011.

In short, When I'm using modalbox with react-navigation@2 + flatlist.
The modalbox works fine the first time.
But it will crash when I try to show the modal again.

Example code: https://snack.expo.io/@dattannguyen/react-navigation-modalbox-flatlist

Contributor guide

No contributing guide indexed for this repository

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 with the linked react-navigation issue #5011 and the Expo Snack example to reproduce the crash using react-navigation@2, Modalbox, and FlatList. Compare the first and second modal displays and determine which integration is responsible; done means the modal can be shown again without crashing and the behavior is verified against the example.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react, 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.