callstack / callstack/react-native-paper
some bug with Modal and Portal
- Dominant language
- TypeScript
- Stars
- 14.5k
- Forks
- 2.2k
- Avg merge
- 5d 23h
- Merged PRs (30d)
- 12
Description
### Current behaviour
The modal may cause a quick flash; setting dismissable to false does not resolve this issue.
Additionally, the modal can result in an unsmooth exit when used with react-native-maps.
Moreover, when attempting to embed a Portal into a List on iOS, the entire component sometimes becomes hidden, although this issue does not occur on Android.
### Expected behaviour
### How to reproduce?
### Preview
### What have you tried so far?
### Your Environment
| software | version
| --------------------- | -------
| ios | x
| android | x
| react-native | x.x.x
| react-native-paper | x.x.x
| node | x.x.x
| npm or yarn | x.x.x
| expo sdk | x.x.x
Contributor guide
Research direction
Start by reproducing the reported Modal and Portal behavior on iOS, including the quick flash, unsmooth exit with react-native-maps, and hidden Portal inside a List. Compare the behavior with Android and use the reported environment details to narrow the cause; done means these iOS cases behave smoothly and the Portal remains visible.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react-native, typescript
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100