eclipsesource / eclipsesource/tabris-js
Broken `Animation` never resolves the promise
- Dominant language
- JavaScript
- Stars
- 1.4k
- Forks
- 171
- PR merge metrics
- No merged PRs in 30d
Description
### Problem description
Animating widget properties to the state the view is already in results in `Animation` promise never being resolved.
Run _animate-tray.js_ snippet, open the tray, and when it's already open swipe up on it like if you wanted to open it further. This triggers an `Animation` to the state where the view is already in, this `Animation` never completes and the tray is "frozen", you cannot interact with it anymore.
### Expected behavior
Animating properties to the state where they already are should result in resolved promise.
### Environment
- Tabris.js version: nightly 3.3.0 from 27th Jan 2020
- Device: any
- OS: observed on iOS 12 and 13
### Code snippet
https://github.com/eclipsesource/tabris-js/blob/b86136ca625bfa993c14ed28c7275e2095cbe53d/snippets/animate-tray.jsx
Contributor guide
Assessment
This issue has not been assessed yet.