Conversation
|
Hey @mattgperry . Do you think this is an issue that will be solved within the next two months? We currently have a lot of issues in all our animations ending in initial state if closed before being finished (the only way to "restore" being to reload the whole page). We are selling themes so we cannot upgrade them once the theme is sold. Just having a rough idea would help us to know if we'd better turn off animation or not for now. Thanks :) |
|
Hopefully within the next two months, but I’m 100% sure as getting it in a testable state has meant adding commitStyles to the WAAPI polyfill we use in Jest and this hasn’t been as easy as I’d hoped. Is it not possible just to run a new animation rather than call reverse? |
|
The timeline is pretty long so it was convenient to just do a negative playbackRate, but thanks for the suggestion, that may actually work as well :) |
|
Ahhh I hadn’t actually considered timeline, good point |
|
Is there any updates on this? Spent the last day trying to figure out what's been going wrong before I realized it wasn't me. 😅 |
TODO
reverse()in internal polyfill. When animation reverses the current time is currently resolving to instant. We also need to consider a reversed animation "finished" when it passes< 0