Closed
Description
Summary:
I have a button within my modal body, identical to the examples in the readme and docs. When I click the button, nothing happens. I cannot even console log.
I am trying to use this button to close the modal. It is calling the same function that is able to successfully close the modal on overlay click.
My modal does close the modal on overlay click if this causes a conflict.
My best guess is some logic that prevents the modal from closing when the modal body is clicked, is preventing my button from being clicked as well.
Steps to reproduce:
- Create a modal similar to those outlined in the docs
- Add an element that handles onClick events (button, div, a)
- Try and click the button.
Expected behavior:
I would expect that my button would be able to call functions as indicated by the docs.