Buttons in the Modals #4768
-
Hi all. If the modal window has at least one button other than the close button, then clicking on it will also close the window. How to avoid this and close the modal window only by clicking on the "close" button? |
Beta Was this translation helpful? Give feedback.
Answered by
janschoenherr
Apr 5, 2023
Replies: 1 comment
-
If you give the button type="button", does it close the modal too?
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
bykovsky
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you give the button type="button", does it close the modal too?
<button type="button">