Menu icon Foundation
Closing Reveal Modal removes all iFrames

Hi,

I have some iFrames on my main page containing Vimeo videos. I also have a Reveal Modal containing some unrelated stuff. If i open the Reveal Modal and then close it all the iFrames on my main page disappear. If i open the modal again they reappear. Anyone know why this behaviour is happening?

Thanks!

reveal modaliframevimeo

Hi,

I have some iFrames on my main page containing Vimeo videos. I also have a Reveal Modal containing some unrelated stuff. If i open the Reveal Modal and then close it all the iFrames on my main page disappear. If i open the modal again they reappear. Anyone know why this behaviour is happening?

Thanks!

Wing-Hou Chan over 5 years ago

Hey Ronan!

I'm not experiencing your problem on CodePen: http://codepen.io/winghouchan/pen/aDhHL/

Could you post some code or a link to the site in development?

Michael Zap over 5 years ago

+1 - I experience this issue as well.

Changing the flex-video class to another name resolves it, so I assume that Reveal is hiding elements with that class on close (not on open) for some reason.

Wing-Hou Chan over 5 years ago

Hey Michael!

Could you post a link to the site in development?