You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 20, 2023. It is now read-only.
I've got a TransitionLink with exitLength, entryLength, and entryDelay all set to 5s. The transition works, but the call to reset the animation lengths to 0 and add the min-height to the div is taking a little too long - 15s rather than 10s.
I've had a look through the plugin code and I think I've narrowed the problem down to line #78 of triggerTransition. It's doing "exitDelay + entryDelay + entryLength + exitLength", but as the entryDelay timeout runs concurrently with the exit animation according to the timeline I think the calculation should be "exitDelay + entryLength + exitLength".
Good catch! I think you're right. I'll get a fix in for this this weekend. Probably I'll check for which one is longer and use that one. Part of the reason for the calculation is to prevent people from clicking a link repeatedly during a longer transition.
Thanks for noticing!
I've got a TransitionLink with exitLength, entryLength, and entryDelay all set to 5s. The transition works, but the call to reset the animation lengths to 0 and add the min-height to the div is taking a little too long - 15s rather than 10s.
I've had a look through the plugin code and I think I've narrowed the problem down to line #78 of triggerTransition. It's doing "exitDelay + entryDelay + entryLength + exitLength", but as the entryDelay timeout runs concurrently with the exit animation according to the timeline I think the calculation should be "exitDelay + entryLength + exitLength".
My TransitionLink code looks like this;
The text was updated successfully, but these errors were encountered: