Details
-
Bug
-
Resolution: Done
-
P2: Important
-
None
-
5.5.0
-
qtdeclarative:c5b083b2a256823f4f47fcaa3140d4f79d99029f
Description
When adding a ListView inside a ScrollView, and when that ListView has transitions define, it can happen that while adding and removing elements from the model, some of the items are not immediately visible whereas they should remain visible.
Run the attached example. Click on Header 2, scroll to the bottom, click on Header 3. Header 3 is not visible on the display, and only becomes visible when scrolling or resizing the window.
Removing the transitions hides the issue. Removing the ScrollView as well. It mostly comes from the connections made from flickableItem.contentY to scroller.verticalScrollBar.value in ScrollView. Evidence also points to the inverse binding in ScrollViewHelper.