@@ -115,8 +115,11 @@ Item {
115115 if (newContentY < 0) {
116116 effectAdjust += newContentY;
117117 newContentY = 0;
118− }
119− if ((categoryView.contentHeight > categoryView.height) && (newContentY > categoryView.contentHeight - categoryView.height)) {
118+ } else if (categoryView.contentHeight < categoryView.height) {
119+ // We can't change contentY if the content is smaller than the view, so adjust effect position
120+ effectAdjust += newContentY;
121+ newContentY = 0;
122+ } else if (newContentY > categoryView.contentHeight - categoryView.height) {
120123 effectAdjust += -(categoryView.contentHeight - categoryView.height) + newContentY
121124 newContentY = categoryView.contentHeight - categoryView.height;
122125 }