Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flicker in chrome #3

Closed
shobson opened this issue Apr 26, 2012 · 13 comments
Closed

flicker in chrome #3

shobson opened this issue Apr 26, 2012 · 13 comments

Comments

@shobson
Copy link

shobson commented Apr 26, 2012

Hi there,

I am getting a flicker happening in chrome when the slides finish their transition from one to another. Now it doesn't happen 100% of the time but it does happen quite frequently. I cant seem to mimic the problem in any other browser.

By the way I am using a Mac OS X 10.6 with chrome.

Thanks

@nicinabox
Copy link
Owner

  • What is your Chrome version?
  • Do you see this happening on the demo, or in your own code?
  • Is it more of a flicker with the images (kind of patchy?) or more of a stutter?

@shobson
Copy link
Author

shobson commented Apr 26, 2012

  • Chrome version 18.0.1025.165
  • Couldn't mimic it in your demo.
  • Its a flicker with the images. So say for instance I transition from "slide 1" to "slide 2" when the transition is done, slide 1 flickers on the screen for a split second then slide 2 comes back and the transition completes.

@nicinabox
Copy link
Owner

Are you using the jquery animate plugin with it?

@shobson
Copy link
Author

shobson commented Apr 26, 2012

Yes, I am using "jquery.animate-enhanced.min.js"

@nicinabox
Copy link
Owner

Hmm, is your code public somewhere I could take a look at it?

@shobson
Copy link
Author

shobson commented Apr 27, 2012

Unfortunately I dont have it displayed anywhere publicly at the moment. The HTML structure is set up exactly like you have on the demo page except I have my bg image in its own div and having that scale with the image to do the fullscreen fluid effect. Check out the effect here (http://css-tricks.com/examples/FullPageBackgroundImage/css-2.php)

Starting to wonder if it has something to do with the CSS I am setting for the background images and if its conflicting with the CSS settings in the JQuery for the slides? Not too sure. Still tinkering around with it to see if I can figure out the issue.

@nicinabox
Copy link
Owner

Are you using background-size in your css?

Sorry, I misread that. You aren't using a background image. If you move the image out of it's div, does that fix the issue?

@shobson
Copy link
Author

shobson commented Apr 27, 2012

I actually structured it the same way you had your demo html laid out (without the div) and I was still getting the flickering happening, so I just left it in.

@bnschmdt
Copy link

I had a similar problem, apply this to your background image properties in the css

-webkit-backface-visibility: hidden;
-ms-interpolation-mode: bicubic;

@nicinabox
Copy link
Owner

There is a set of required css which includes the backface and interpolation rules. This ticket is a little old, but @steveh14, did you solve this, and are use using that css that is provided in the documentation?

@shobson
Copy link
Author

shobson commented Jul 16, 2012

Yup, the solution I used a while back was the one that @bnschmdt just posted. Seemed to fixed my issues with the flickering in chrome.

@nicinabox
Copy link
Owner

Okay, awesome :)

@fabyeah
Copy link

fabyeah commented Oct 23, 2013

Old thread, but wanted to add some info:
For me, this still happens in v.0.6.3 like this:

  • Seems to affect Mac OS / iOS devices only
  • Only images with class preserve, not background images
  • Only on jpgs, not on transparent .pngs, but haven't tested this extensively.

The provided CSS fixed it for me, too. Maybe it should be hardcoaded into superslides. If it is, maybe it's not applied to the preserve class?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants