Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Both, the visible and the insert animation, set the tile to invisible before the animation starts. In addition, the insert animation waits for the tile grid layout to finish before it starts. The tile grid layout may position the tiles with an animation, e.g. move the tiles away to make space for the tile to be inserted. If a tile is inserted and a tile made visible while the tile grid layout is still positioning the tiles, the new tile flickers because tile._renderVisible() makes it visible even though the insert animation is still pending and the tile should stay invisible. Can be reproduced with the tile grid in the classic widgets app: 1. Add a filter in the source code with addFilter(() -> true); 2. Open Tile Field 3. Sort descending 4. Insert a new tile The filter is necessary because the server will send a tiles property change event first and then a filteredTiles property change event. When the new tile is inserted, the existing filter does not know it yet and makes it invisible. When the filteredTiles event is processed, the tile is made visible again which leads to the described behavior. 350043
- Loading branch information
1 parent
21fcdf8
commit a6f6343
Showing
8 changed files
with
221 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters