Wanted to revive this modal discussion.
Wanted to revive this modal discussion. Have y'all found a good way to displace the iframe modal into the native modal used by the web app it's embedded in? I have the modal infrastructure for use in our app already. Just not sure how to force it to show in our modal rather than the iFrame one.
https://discord.com/channels/1143209406037758065/1299091382065172572
6 Replies
@jbc can you check this..
@ThatSpot We expose events for when we open the modal and close the modal. Since, modal adds a gray background that makes it look different from rest of your app, you can show your own gray bg when the model inside the iframe is opened.
But, if you have any other suggestions, we can consider those too
is there a close event i can trigger on the iframe modal for closing from our app?
@Justin Mathew can you help here?
@ThatSpot as of now i no , can you create a feature request for this ?
an event to close the any modal
cc: @Nicolas @utsav.kapoor
Yeah I think ideally we would...
1. listen for the onOpen event from the embed modal
2. open our own modal backdrop
3a. on embed modal close, we close our own modal backdrop
3b. on our modal backdrop click, we close the embed modal