@@ -394,10 +394,12 @@ void ListViewWithPageHeader::viewportMoved(Qt::Orientations orient)
394394 // We will be changing the clip item, need to accomadate for it
395395 // otherwise we move the firstItem down/up twice (unless the
396396 // show header animation is running, where we want to keep the viewport stable)
397− if (!m_headerShowAnimation->isRunning())
397+ if (!m_headerShowAnimation->isRunning()) {
398398 diff += oldHeaderItemShownHeight - m_headerItemShownHeight;
399− else
399+ } else {
400400 diff = -diff;
401+ m_contentHeightDirty = true;
402+ }
401403 }
402404 if (!m_visibleItems.isEmpty()) {
403405 updateClipItem();