- This topic is empty.
Viewing 7 posts - 1 through 7 (of 7 total)
Viewing 7 posts - 1 through 7 (of 7 total)
- The forum ‘JavaScript’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › JavaScript › iframe flickering while resizing it
Hey guys,
I have a problem when I’m resizing an iframe with JQuery. The iframe content starts flickering while sizing the iframe down.
Is there any clever way to prevent this?
Here’s a pen: http://codepen.io/Koopax/pen/eBjnq
Thanks a lot
Koopa
hmm it’s so weird, I still couldn’t fix it :(
It’s the jquery. As you size down the iframe it looks like the jquery readjusts it some way causing it to flicker. The question is if that problem is big enough for you to have to re-think whatever your trying to achieve. If not leave it that way. Or find a solution :P
But it’s quite strange, because when I remove the separator element, which is only a div, the flicker is gone :S
Does it flicker outside of CodePen too? Often something flickers in CodePen but not outside. Even then, is this really a problem? :P
Yes it even flickers when you export it from codepen. I’m perhaps too perfectionist in those things but I personally hate things that lag or flicker
Thanks guys :)
After the sixth attempt is finally got it working, by rewriting my entire js.