Hi. I have a Vimeo video inside the popup and if I click on the close button (x) or click outside the popup whilst the video is playing, it continues playing (you can hear the sound), so you have to open the popup again and click pause and then close the popup. Is it possible to make the video pause/stop when you close the popup? Thanks.
]]>It would be great if the modal window opened when you click on the anchor link. If the anchor link is on the current page, the window would open immediately. If on another one, then immediately after loading a new page.
]]>Hi. How can I stop the page from scrolling when the popup opens?
]]>Hi @codemanas,
First of all, thank you for this plugin, love it’s effectiveness without any bloat.
I couldn’t find any public repo so I’ll just publish it here.
When the post content is nested under an element that has the CSS properties filter
or transform
set the popup doesn’t position as expected anymore. This is because at this moment the popup is rendered within the site content.
Transform and filter CSS properties will change the popup’s location in context to this element’s location and size instead of the browser viewport.
For this reason I would like to suggest an opt-in setting for the popup to render in the site root (or after an element defined with an ID selector).
This way it could render the popup within the <body> tag and therefore fix any fixed positioning issues.
Let me know your thoughts and in the case there is a public repo I’d be happy to help.
Cheers, Jory
]]>