Answer the question
In order to leave comments, you need to log in
Why does a simple button close the modal window?
There is a simple modal window from reacstrap. A table is inserted in it, everything would be fine, but only pagination, for some reason, instead of switching pages, closes the modal window. The same paginated table in another component works as it should.
I don't understand what is the trigger to close the modal window.
Answer the question
In order to leave comments, you need to log in
Most likely, the click goes somewhere up the tree and the "close the window when the page is clicked" handler is triggered.
The same one that closes the window if you click past it into the gray area.
If so, then the event must be stopped somewhere along the way. If not, then figure it out, guessing from a screenshot has long been out of fashion.
Maybe this library is just clumsily written.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question