aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/items/qquickgridview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/quick/items/qquickgridview.cpp')
-rw-r--r--src/quick/items/qquickgridview.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/quick/items/qquickgridview.cpp b/src/quick/items/qquickgridview.cpp
index 139f9e79f1..e72207cc37 100644
--- a/src/quick/items/qquickgridview.cpp
+++ b/src/quick/items/qquickgridview.cpp
@@ -1765,8 +1765,10 @@ void QQuickGridView::setSnapMode(SnapMode mode)
documentation.
\note This transition is not applied to the items that are created when the view is initially
- populated, or when the view's \l model changes. In those cases, the \l populate transition is
- applied instead.
+ populated, or when the view's \l model changes. (In those cases, the \l populate transition is
+ applied instead.) Additionally, this transition should \e not animate the height of the new item;
+ doing so will cause any items beneath the new item to be laid out at the wrong position. Instead,
+ the height can be animated within a \l {ListView::onAdd()}{ListView.onAdd} in the delegate.
\sa addDisplaced, populate, ViewTransition
*/