December 1, 2018 in Technical Problems
Hey! I have a question. Is there any way to prevent the div element from disappearing after closing the dialog?
Here's my code.
<a class="ipsDataItem_title ipsType_break" data-ipsdialog="" data-ipsdialog-content="#FullScreen" data-ipsdialog-fixed="true" data-ipsdialog-size="fullscreen" href="#FullScreen">Full Screen</a>
and content. This whole div disappears after closing the data-ipsdialog and shows after reloading page.
No, there is no way to do that - that's not how dialogs are meant to be used.
When you use dialogs in the case you are doing here, clicking the link takes that div and turns it into an overlay (a dialog)...when you close it, we hide that overlay. It may no longer exist in the DOM in its original location even, so it's not as simple as just not showing the overlay but showing it where it was originally embedded.
This topic is now archived and is closed to further replies.
Started 7 hours ago
Started Yesterday at 02:01 AM
Started 8 hours ago