Skip to content

Navigator loses Frame reference when displaying multiple Frames on IOS #24

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Lehren opened this issue Jan 27, 2020 · 2 comments
Closed

Comments

@Lehren
Copy link

Lehren commented Jan 27, 2020

The navigator will break navigation on IOS when a new Frame instance is created somewhere. For instance when showing a modal that is structured like so:

<Frame>
    <Page>
        <Label> Hello </Label>
    </Page>
</Frame

And then closing the modal, all navigation stops, at least on IOS. My guess is due to the fact the navigator cannot find the 'default' Frame anymore, or it is using the frame of the closed and discarded modal. Resulting in errors.

@Lehren
Copy link
Author

Lehren commented Jan 27, 2020

The fix seems to be to set the id and ref of the modal Frame to something other than 'default'. Might be useful to put into the docs or something. Or for any future visitors :)

@Lehren Lehren changed the title Navigator loses Frame reference when displaying multiple Frames Navigator loses Frame reference when displaying multiple Frames on IOS Jan 27, 2020
@rigor789
Copy link
Member

Tracked at #27

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants