eclipsesource / eclipsesource/tabris-js

Improve compatibility of "refresh" events with promises

Open
#1,804 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.