@@ -115,8 +115,11 @@ Item {
115 if (newContentY < 0) {
115 if (newContentY < 0) {
116 effectAdjust += newContentY;
116 effectAdjust += newContentY;
117 newContentY = 0;
117 newContentY = 0;
118− }
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;
119− if ((categoryView.contentHeight > categoryView.height) && (newContentY > categoryView.contentHeight - categoryView.height)) {
122+ } else if (newContentY > categoryView.contentHeight - categoryView.height) {
120 effectAdjust += -(categoryView.contentHeight - categoryView.height) + newContentY
123 effectAdjust += -(categoryView.contentHeight - categoryView.height) + newContentY
121 newContentY = categoryView.contentHeight - categoryView.height;
124 newContentY = categoryView.contentHeight - categoryView.height;