Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7562917
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T13:31:54+00:00 2026-05-30T13:31:54+00:00

All, I’m working on a web app specifically for the iPad, and I’m using

  • 0

All,

I’m working on a web app specifically for the iPad, and I’m using a CSS3 transition to animate a div (move it from left to right).

My class looks like this:

.mover {
    -webkit-transition:all 0.4s ease-in-out;
}

When the user clicks a button, I do this:

var s = "translate3d(" + newPosition + "px, 0, 0)";
$('.mover ').css('-webkit-transform', s);

This works great EXCEPT the FIRST time the user triggers the transition; the first time, there’s a very noticeable flicker.

I realize I don’t need to use translate3d since I’m only moving the div left and right, but, as I understand it, this forces the iPad to use GPU acceleration. (Is this correct?)

Many thanks in advance!

[UPDATE]

I was a little ambiguous about the “flicker”. In short – I’ve been experimenting with a wide variety of CSS3 transitions (specifically on the iPad), and consistently – I’ve noticed a distinct flicker at the start or end of the transition.

In other words, the transitions themselves are VERY smooth. However, depending on the precise settings, there’s a noticeable flicker just before the transition begins or ends.

Here’s another example: I have three photos (PNGs) stacked on top of each other.

The bottom PNG has opacity=1.0, the top 2 have opacity=0.0. Using -webkit-keyframes, I’m able to get silky smooth transitions as the photos fade in and out. When the animation ends, the bottom photo ends at opacity=1.0, the top two at opacity=0.0. (That should be their final state).

However, just as the animation ends, the bottom photo flickers. It’s as though the browser is forces to redraw/repaint the screen, and that takes a few fractions of a second.

It’s bad enough to spoil the effect, and render then transitions unuseable. (On my iMac it is almost, but not quite, imperceptible. On the iPad, it’s unmissable).

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T13:31:55+00:00Added an answer on May 30, 2026 at 1:31 pm

    All,

    I’m not positive that this is the answer (especially because the flicker itself seems a little unpredictable), but anecdotally, this seems to get rid of it…

    Anyway, here’s what I was doing:

    .mover {
        -webkit-transition:all 0.4s ease-in-out;
    }
    
    var s = "translate3d(" + newPosition + "px, 0, 0)";
    $('.mover ').css('-webkit-transform', s);
    

    Often, the FIRST time this was executed, I’d see a flicker before the animation begins. Subsequent calls would animate smoothly.

    What I inferred was that, if the 3d coordinates were not set before calling the animation, you’d see a flicker. The first call sets those coordinates, so subsequent calls would animate smoothly.

    So – I tried setting the 3d coordinates of the div first (essentially, when I’m first building the screen – i.e., initialization), before any animations are ever triggered.

    So, thereafter – when a 3d animation is called for, the div/element’s starting 3d coordinates have already been established.

    That seems to eliminate the flickering.

    As I said – I’m not sure if this is a robust, reliable fix, but it certainly has eliminated the problem in my current projects.

    Good luck.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

All, I'm using wordpress with this and for some reason the eventDrop stopped working.
all, I am making a game in which a sprite is move from one
All I am trying to create an app that start capturing the video from
All, See the code below: function menu() { this.menuitem=[]; this.submenu=[]; this.menuitem[0] = $('div#sivname1'); this.menuitem[1]
All, I have some script tags that are not working in Wordpress. If I
All programs that I develop utilize the default Windows Design template: Besides from changing
All, We could really do with some advice from SVG gurus. WHAT WE HAVE:
We're building an app, our first using Rails 3, and we're having to build
All the code/commands below are part of a PHP script that processes images from
All, I wanted to know how I could pass a $variable from view, for

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.