Carousel view setting default position not working in maui

Satya 85 Reputation points

Carousel view setting default position not scrolling to item on page load in maui.

After data is loaded to carousel view, updating position not working.

                CarouselView.Position = index;
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,199 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Liqun Shen (Shanghai Wicresoft Co Ltd) 160 Reputation points Microsoft Vendor


    There is a known issue on Github: CarouselView doesn't scroll to the CurrentItem when set. You could follow this thread. Besides, in this thread artyomszasa shares a workaround that can help.

    Best Regards,

     Liqun Shen.

    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments