-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Description
Describe the bug
Carousel控件UpdateItemsPosition()方法:动态切换主题时,Items.Count>0,但PageIndex未更新,闪退
Steps to reproduce the bug
动态切换主题后,当Items.Count=1,此时PageIndex并未更新,依然为-1,闪退,临时方案:额外的检查Items.Count大于0时:PageIndex = PageIndex < 0 ? 0 : PageIndex;
Expected behavior
No response
Screenshots
No response
NuGet package version
None
IDE
No response
Framework type
No response
Windows version
No response
Additional context
No response
Metadata
Metadata
Assignees
Labels
No labels