-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
docs(Portal): fix controlled Portal usage #3420
Conversation
Codecov Report
@@ Coverage Diff @@
## master #3420 +/- ##
=======================================
Coverage 99.92% 99.92%
=======================================
Files 172 172
Lines 2838 2838
=======================================
Hits 2836 2836
Misses 2 2 Continue to review full report at Codecov.
|
Actually, the issue comes from EventStack that incorrectly works with browser frames (click on There is an experiment with new approach: https://codesandbox.io/s/9yw3vq6774 I need to spend more time on it to test other scenarios and perform cleanup. I will update the example later today. |
So would that mean that the fix should be done in EventStack in the end? |
@Fabianopb Actually, yes. But, I'm not ready to ship a correct fix for right now. I need to resolve the issue correctly and forever 👍 |
@Fabianopb I've updated an example, now it works more correctly. Please let me know if it is fine 🚶 |
Now the external button is solely used to open the |
Released in |
As discussed in #3408 the usage of
Portal
as a controlled component was wrong in the docs creating a false positive bug. The proper way puts the control inside thePortal
'strigger
:(Closes #3408)