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

Pop-outs not working in react 18 with React.StrictMode? #322

Open
ryanhamilton opened this issue Jul 7, 2022 · 0 comments
Open

Pop-outs not working in react 18 with React.StrictMode? #322

ryanhamilton opened this issue Jul 7, 2022 · 0 comments

Comments

@ryanhamilton
Copy link

Describe the bug

WIth React 18 and </React.StrictMode> pop-outs are not visible.
When I click on pop-out, it creates a new window and quickly dissapears. I can click "dock window" but it doesn't reappear.
If I remove </React.StrictMode> pop-outs work as expected.
Some googling seemed to suggest portals may not work the same in strict mode.

Your Example Website or App

No response

Steps to Reproduce the Bug or Issue

Apologies on not providing a working example but pop-out is not essential for my work so I can't investigate further as I'm happy to turn them off.

Expected behavior

Pop-outs pop out and display the tab.

Operating System

windows

Browser Type?

Edge / Chrome / Firefox.

Browser Version

Edge 103

Screenshots or Videos

.

Additional context

No response

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