Replies: 1 comment
-
OK, I determined that this can be done by binding the modal to the open variable and updating the open variable to false upon a button click. So |
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
-
The modal documentation states that "Any button element put in the modal will close it on click." In my experience this is true when using the Flowbite Button component but not when using an html button element. I must be missing something.
This example component is a color picker that generates a grid of buttons. Clicking on any of the buttons should close the modal. Currently this is not happening for me. Clicking on the Flowbite Button component at the end does close the modal.
Beta Was this translation helpful? Give feedback.
All reactions