@@ -47,7 +47,7 @@ FocusScope {
4747 print("should tab next")
4848 appRepeater.highlightedIndex = (appRepeater.highlightedIndex + 1) % ApplicationManager.count;
4949 var newContentX = spreadFlickable.width / 5 * Math.max(0, Math.min(ApplicationManager.count - 5, appRepeater.highlightedIndex - 3));
50− if (spreadFlickable.contentX < newContentX) {
50+ if (spreadFlickable.contentX < newContentX || appRepeater.highlightedIndex == 0) {
5151 spreadFlickable.snapTo(newContentX)
5252 }
5353 }
@@ -59,7 +59,7 @@ FocusScope {
5959 var newIndex = appRepeater.highlightedIndex - 1 >= 0 ? appRepeater.highlightedIndex - 1 : ApplicationManager.count - 1;
6060 appRepeater.highlightedIndex = newIndex;
6161 var newContentX = spreadFlickable.width / 5 * Math.max(0, Math.min(ApplicationManager.count - 5, appRepeater.highlightedIndex - 1));
62− if (spreadFlickable.contentX > newContentX) {
62+ if (spreadFlickable.contentX > newContentX || newIndex == ApplicationManager.count -1) {
6363 spreadFlickable.snapTo(newContentX)
6464 }
6565 }