Skip to content

Modal Stacking with IOS #1976

Closed Answered by tboba
moribaleta asked this question in Q&A
Nov 22, 2023 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

Hi @moribaleta, thanks for submitting the discussion!
If I understand you correctly, you can easily achieve that by navigating from one modal to another.

Screen.Recording.2023-11-23.at.11.13.35.mov

Is this what you thought about? Or maybe you had nested view in modal on your mind?
You can find the code for the reproduction below:

import { NavigationContainer } from '@react-navigation/native';
import {
  createNativeStackNavigator,
  NativeStackNavigationProp,
} from '@react-navigation/native-stack';
import { Button, Text, View } from 'react-native';
import React from 'react';

const Stack = createNativeStackNavigator();

type StackParamList = {
  Home: undefined;
  Modal1: undefined

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@moribaleta
Comment options

@tboba
Comment options

Answer selected by moribaleta
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants