3 ms·
Sorry to comment off of the content of the post, but when I load the page the Like button flickers shown/not shown a bunch of times causing annoying visual jitt
by esrauch 14y ago
Sorry to comment off of the content of the post, but when I load the page the Like button flickers shown/not shown a bunch of times causing annoying visual jitter. I'm on Chrome 22 if that is relevant.
- minimaxir 14y agoFrom what I can tell, that's on Facebook's end, as all the Facebook plugins seems to flicker occasionally as well. I'll look into it, although there's nothing unusual with my front-end code that should be causing unusual behavior...maybe CloudFlare caching issues? Thanks for letting me know btw. :)
- minimaxir 14y agoI figured out the error (I was wrong, it was indeed my code) and fixed it. No more flickering. :)
- spicyj 14y agoOut of curiosity, what was the bug?
- minimaxir 14y agoOn my main page, I use AJAX to load the Share buttons when the user mouses-over the post itself, so that they aren't loaded all at once. Specifically, it loads the HTML, then runs it through each social service's HTML parser to render the buttons. On individual blog posts, the buttons did not load because the DOM element is not present for that template. However, the parser still ran on mouse-over, which is what caused the flickering. So I just disabled the parser when the user is on an individual blog post.
- spicyj 14y agoGotcha. :)