eclipsesource / eclipsesource/tabris-js
Improve compatibility of "refresh" events with promises
Open
api
js
- Dominant language
- JavaScript
- Stars
- 1.4k
- Forks
- 171
- PR merge metrics
- No merged PRs in 30d
Description
### Problem description
Currently it is required for "refresh" event handlers (`CollectionView` and `RefreshComposite`) to manually disable the `refreshIndicator` property of their target.
### Expected behavior
This should not be required when the event handler returns a promise. In this case, `refreshIndicator` should be reset by the framework when the promise resolves.
### Environment
- Tabris.js version: 3.x
Contributor guide
Assessment
This issue has not been assessed yet.