Details
-
Suggestion
-
Resolution: Duplicate
-
P3: Somewhat important
-
4.7.0
-
None
Description
I use a setup where I present some items using a PathView element. When clicking on an element that is not the current element, that element moves to the middle of the path and becomes the current element. I use the PathView::currentIndex for that. When setting that property, the PathView animates so the new currentIndex moves to the correct position. I would have expected items to take the shortest route there, but it doesn't always do so. There are only 3 items showing on my path. If the model only contains three items, then the items animate in the wrong direction sometimes. Instead of moving from the right side of the path (the end) to the middle, the item is first moved to the left side (the start of the path) and only then to the middle.
This animation feels unnatural this way. I would have expected items always to move through the shortest path.