Skip to content

components/calendar: set currentIndex before positionViewAtIndex

components/calendar: set currentIndex before positionViewAtIndex

We have to set currentIndex before positioning, otherwise the positioning gets very confused and starts hopping over elements like next month etc.

This fixes bug linked below, where clicking on arrow to change to next month would hop over 3 months instead of 1.

BUG:487631

Edited by Akseli Lahtinen

Merge request reports