Unwanted HTML element created when closing modal #1437
Unanswered
GuilhermeZaninPs
asked this question in
Support from community
Replies: 1 comment
-
Hi, what HTML element are you talking about? Could you provide some more informations? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Every time I close a modal in my web application, an HTML element is created. I'm not sure why this is happening, and I would like to understand the root cause of the issue and find a way to prevent it from happening.
Steps to reproduce:
Open the modal by clicking on a button.
Close the modal by clicking on the close button.
Check the HTML code of the page and notice that a element has been created.
Expected behavior:
When I close the modal, no unwanted HTML elements should be created.
Actual behavior:
An HTML element is created every time I close the modal.
Additional information:
I'm using React js.
Please let me know if there's any other information I can provide to help diagnose and solve this issue.
Beta Was this translation helpful? Give feedback.
All reactions