Skip to content
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

unmounting the wrong component when using addPortal and Portal together. #42

Open
pjc0247 opened this issue Apr 11, 2023 · 0 comments
Open

Comments

@pjc0247
Copy link

pjc0247 commented Apr 11, 2023

https://snack.expo.dev/@pjc/portal-example

Seems that there is a bug that unmounts wrong component when the Portal component is unmounted.

the result

mount1 static jsx test component
mount1 dynamic 1
mount1 dynamic 2
unmount dynamic 2  ## here

expected behaviour

mount1 static jsx test component
mount1 dynamic 1
mount1 dynamic 2
unmount static jsx test component
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant