-
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
Popup - displays empty content, bug? #2032
Comments
opening the codepen results in an infinite reload loop from me. not sure if it's your code or codepen. also having Popup issues today |
@cdaringe its working in my browser - I opened it in Chrome... what browser(s) are you using? |
ya, looks like it was probably a codepen bug. it works now! |
This is not bug, all other our components have the same behaviour. The visibility of |
@layershifter, thanks for your response. You say that the The So, there is no way to control a popup visibility? Is the behavior of the |
Why? See example of controlled Modal. |
@layershifter, thanks for the response. The Portal |
Steps
Define a popup, without any of these props:
Expected Result
I would expect the popup not to be displayed
Actual Result
An empty popup is displayed
Version
0.72.0
Testcase
https://codepen.io/anon/pen/qXLGjK
If empty content prevented the popup from displaying, it would be very easy only activate the popup for specific conditions. A specific use-case would be form validation using a popup.
Is there another way to achieve the same behavior? I see the
open
prop in the documentation, but setting this to false does not prevent a popup from opening, it only closes an open popup.Thanks.
The text was updated successfully, but these errors were encountered: