Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript iframe flickering while resizing it

  • This topic is empty.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #44996
    Koopa
    Participant

    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

    #136630
    Koopa
    Participant

    hmm it’s so weird, I still couldn’t fix it :(

    #136635
    Anonymous
    Inactive

    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

    #136636
    Koopa
    Participant

    But it’s quite strange, because when I remove the separator element, which is only a div, the flicker is gone :S

    http://codepen.io/Koopax/pen/vfmLr

    #136638
    CrocoDillon
    Participant

    Does it flicker outside of CodePen too? Often something flickers in CodePen but not outside. Even then, is this really a problem? :P

    #136640
    Koopa
    Participant

    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

    #136651
    Koopa
    Participant

    Thanks guys :)
    After the sixth attempt is finally got it working, by rewriting my entire js.

Viewing 7 posts - 1 through 7 (of 7 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.