This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
I'm making a re-com modal. What's the proper way to make a click on the backdrop make the modal disappear? I tried using
[recom/modal-panel
:attr {:on-click #(dispatch [:hide-calculator-modal])
:on-touch-start #(dispatch [:hide-calculator-modal])}
:child [:div [the-actual-content nothing interesting here]]]
but a click/touch-start
on the actual content closes the panel.