callstack / callstack/react-native-paper

some bug with Modal and Portal

Open
#4,330 1 comment 1 reaction 0 assignees View on GitHub
bug
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.