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

delayDuringOutInTransitions seems to lag #12

Closed
IanLunn opened this issue Jan 17, 2012 · 2 comments
Closed

delayDuringOutInTransitions seems to lag #12

IanLunn opened this issue Jan 17, 2012 · 2 comments
Milestone

Comments

@IanLunn
Copy link
Owner

IanLunn commented Jan 17, 2012

When delayDuringOutInTransitions is true, there seems to be a 1 second lag between being about to change frames

@IanLunn
Copy link
Owner Author

IanLunn commented Jan 17, 2012

The 1 second delay was defined in the themes CSS. Sequence.js waits for a transition/animation to complete before it sees the frame as being finished. I've written an if statement that will cause Sequence.js to only wait for a transition to end if the transition duration is not returned as "0s" (0 seconds).

Will need to test if this causes issues where a theme developer may have omitted a transition duration by mistake.

@IanLunn
Copy link
Owner Author

IanLunn commented Jan 17, 2012

Bypassing the wait for a transition/animation to end allows a user to skip through frames before they've finished. Taken this out for the time being (may be useful for future features) and managed to get around the lag using just CSS.

@IanLunn IanLunn closed this as completed Jan 17, 2012
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

1 participant