fancybox-3

how do you prevent fancy box's close button from auto hiding?


I have the following iframe situation.

<a _ngcontent-c27="" data-color="red" data-fancybox="id_ALPHA" data-opacity="1" data-src="https://startalkcreate.org/resource-modal/" data-type="iframe" href="javascript:;">
                <span _ngcontent-c27="" style="background-color:teal;color:white;padding:4px;">Browse Resources Repository</span>
            </a>

It nicely pops the windows the facny way. But the close ( dismissing [X] ) button disappears after a few seconds. The not-so-savy users have a difficult time closing that pop up and end up using the back button. Is there a way to make sure the x to always stay visible?


Solution

  • You can use idleTime option to disable auto hiding, simply add data-idle-time="false" to your link.