Skip to content

requestAnimationFrame seems to break CSS transitions #12749

Closed

Description

@Gozala

I have created a following test case that you can try as servo -w https://Gozala.jsbin.com/vujonov

When "Request animation frames" is checked animation css transition is not performed, instead just last frame is drawn when transition is complete. If it is unchecked transitions are performed as expected. Checkbox just toggles requestAnimationFrame loop that seems to cause a bug in CSS transitions.

P.S.: It does not seems to matter if we do anything on animation frames or not.

Activity

  1. Gozala commented on Aug 5, 2016

    @Gozala
    ContributorAuthor
  2. emilio commented on Aug 5, 2016

    @emilio
    Member

    The problem is that the constellation doesn't send TickAnimations messages to layout if there's a requestAnimationFrame loop. I don't know how easy/hard to fix this is yet.

  3. added a commit that references this issue on Aug 5, 2016
    805988e
  4. added a commit that references this issue on Aug 5, 2016
    aca89b2
  5. added
    A-constellation
    on Aug 5, 2016
  6. added a commit that references this issue on Aug 8, 2016
    0b98321
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-constellation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions