-
Notifications
You must be signed in to change notification settings - Fork 2k
CarouselView: Fix cascading PositionChanged/CurrentItemChanged events on collection update #31275
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
kubaflo
merged 264 commits into
dotnet:inflight/current
from
praveenkumarkarunanithi:fix-29529
Apr 9, 2026
Merged
Changes from 6 commits
Commits
Show all changes
264 commits
Select commit
Hold shift + click to select a range
045f2c9
[Windows] Fixed CollectionView with grouping fails to add items when…
NirmalKumarYuvaraj 2818117
[iOS] Permissions.RequestAsync<Permissions.Sensors> does not return a…
kubaflo a5688e6
[Android] Button with corner radius shadow broken on Android device -…
kubaflo 3a2c1f4
[iOS] Label LinebreakMode (TailTruncation) for FormattedText does't w…
kubaflo 079068f
[Android] Fixed SelectionLength Not Updated Correctly for Right-to-Le…
Dhivya-SF4094 a88b393
[iOS] Fix Flyout icon visibility when popping page using PopAsync or …
Vignesh-SF3580 ca46df6
[iOS] Fix CollectionView excessive height when ObservableCollection s…
Vignesh-SF3580 7c59b5d
[Android] Implemented Material3 support for SearchBar (#33948)
Dhivya-SF4094 be7af2c
[Android] Fix CollectionView sizing when wrapped in RefreshView (#34387)
Dhivya-SF4094 51ab6e3
[Shell] Fix OnNavigatingFrom reporting wrong DestinationPage (#34404)
SubhikshaSf4851 a6438a2
[Android] Fix GraphicsView dirtyRect mismatch when display density ch…
praveenkumarkarunanithi 0c16dfb
[iOS] Fix Scrollbar does not align with FlowDirection=RightToLeft in …
devanathan-vaithiyanathan 4f96e1f
[Android] Fix picked images end up with unexpected "_processed" suffi…
devanathan-vaithiyanathan 3b0ca16
[iOS] Fix CollectionView horizontal scroll when empty inside Refres…
praveenkumarkarunanithi f4f6d9a
[iOS/Mac] CollectionView: Fix incorrect ItemsViewScrolledEventArgs in…
SyedAbdulAzeemSF4852 0df6691
[iOS] Fix Label background not clipped when Clip property is set (#34…
Shalini-Ashokan 92c5473
[iOS] Fix MediaPicker.PickPhotosAsync returning empty list when selec…
Vignesh-SF3580 a55c5c2
[iOS] Fix SearchBar.CancelButtonColor not applied on iOS 26 (#34291)
Vignesh-SF3580 d150fd7
[Testing] Feature Matrix UITest Cases for Shell Navigation Page (#34…
NafeelaNazhir 7f57706
[iOS] Fix for CollectionView.Measure() returning incorrect height whe…
BagavathiPerumal 8f36d23
[iOS][Android] Shell: Fix tab bar visibility and selection after firs…
Shalini-Ashokan 8cbedab
[Android] Fix for CollectionView EmptyView swaps reusing stale Recycl…
BagavathiPerumal e0609f6
[Android] CollectionView: Fix item spacing applied on outer edges cau…
kubaflo 2c78973
[Android] Fix SearchHandler displays both Expanded and Collapsible vi…
Tamilarasan-Paranthaman bcdfa71
[Android, iOS] Fix for ContentView not clearing its Background when s…
SyedAbdulAzeemSF4852 4a72a92
[Android] Tabs briefly display wrong background color when navigating…
KarthikRajaKalaimani 10335f4
[iOS] Shell: Fix 'More' tab navigation bar not applying Shell appeara…
kubaflo fdf7dea
[Shell] Fix InvalidCastException when using QueryPropertyAttribute wi…
kubaflo f71ac02
[iOS] - Fixed SearchBar Dimension Handling to Respect WidthRequest an…
prakashKannanSf3972 c054996
[iOS][Android] Label: Fix RTL padding not mirroring (#32333)
kubaflo e85250a
[iOS 26] Fix NavigationPage hang after rapidly pushing and popping pa…
mduchev 8e8c2f4
[iOS] Preserve AlwaysTemplate rendering mode in Button.ResizeImageIfN…
kubaflo 105f72a
Fix for Shell back navigation using GoToAsync not triggering page tra…
SyedAbdulAzeemSF4852 5eb4fc1
Refactored ShellFlyoutTemplatedContentRenderer InsetListener (#32471)
NirmalKumarYuvaraj 87b1929
[Android] Shell: Implement Material 3 theming support (#33427)
Dhivya-SF4094 d4794e7
[iOS 26] Fixed Placeholder text of SearchHandler is not displayed (#3…
Dhivya-SF4094 3e1fc51
[iOS] Fixed ProgressBar Flow Direction on iOS26 (#34015)
SubhikshaSf4851 eeb1251
[iOS, Mac] Fix for TabbedPage FlowDirection Property Renders Opposite…
BagavathiPerumal 90f4acc
[iOS] Fix FlyoutPage toolbar items visibility and ordering (#31067)
Shalini-Ashokan 3f0fa80
[iOS 26] Stepper: Fix not reaching min/max when increment exceeds rem…
SyedAbdulAzeemSF4852 3af8f69
[iOS] Fix PickContactAsync blocking subsequent dialog presentation (#…
Vignesh-SF3580 16b0b22
[Android] Fix for Android TalkBack announcing CollectionView items as…
praveenkumarkarunanithi ba104cc
[Android] Fixed TabbedPage bar background visual bug when using gradi…
SubhikshaSf4851 0ccf73f
Fix CharacterSpacing Set on Label Does Not Apply to Spans in Formatte…
SyedAbdulAzeemSF4852 7dfac0f
[Android] Fix for Automatic Flow Direction change in Graphics View (#…
HarishwaranVijayakumar 2476ead
[Android] Fix Java.Lang.IllegalArgumentException crash in Entry with …
Vignesh-SF3580 f0b370b
[iOS] Fix indicator dots not rendering when using indicator size with…
Shalini-Ashokan 291b080
[MacCatalyst] Shell: Fix ShellContent tab titles not rendering when e…
KarthikRajaKalaimani 74ed8c3
Fix conflicts and build failures in inflight/current branch (#34495)
devanathan-vaithiyanathan bd46385
[Android] Prevent tabs from being removed during Disappearing (#32878)
jfversluis a509849
[iOS, Android] Fix for Incorrect Orientation in HEIC and JPG Images D…
HarishwaranVijayakumar 8d55f48
[iOS & MacCatalyst] Fixed Flowdirection in Stepper (#34005)
SubhikshaSf4851 bbbf683
[iOS] Shell: Fix page viewport offset when Entry focused on page load…
BagavathiPerumal 7b2a182
[Testing] Refactoring Feature Matrix UITest Cases for BoxView Control…
HarishKumarSF4517 edd8f63
[iOS] SwipeGestureRecognizer: Fix swipe direction detection on rotate…
BagavathiPerumal 029c712
[iOS/Mac] Shell: Prevent double back-navigation on rapid push/pop in …
SubhikshaSf4851 4ebf488
Fix Android/iOS map polygon clearing issue by resetting MapElementId …
Copilot b849a48
SwipeView: Fix scroll parent detection race condition in DataTemplate…
kubaflo 051abaa
[Testing] Refactoring Feature Matrix UITest Cases for Border Control …
HarishKumarSF4517 6908cdc
[Android, iOS] Fix for Shell flyout navigation fires NavigatedTo befo…
praveenkumarkarunanithi d701dec
[Android] Essentials: Cancel pending picker tasks when IntermediateAc…
KarthikRajaKalaimani 559ae5f
[Android] Fix for ArgumentOutOfRangeException thrown by ScrollTo when…
SyedAbdulAzeemSF4852 681f759
[Housekeeping] Refactor iOS large titles sample (#33084)
kubaflo e37fd87
[Android, iOS, macOS] Fixed Shell SearchHandler Command Not Executed …
NanthiniMahalingam 1975004
[Android, iOS] Throw exceptions consistently for invalid StaticResour…
Vignesh-SF3580 140b97a
Fix for Binding failure in RadioButton after .NET 10 upgrade (#34285)
BagavathiPerumal c61de81
Fix: Replace double.IsFinite to resolve compilation errors in SwipeGe…
Vignesh-SF3580 f74dfc1
[Windows/Android] Fix RadioButton TextTransform Property not working …
devanathan-vaithiyanathan e5dc592
Shell: Update flyout behavior when items are dynamically replaced (#2…
Vignesh-SF3580 94c70a2
[Android] - Fix Inconsistent Footer Scrolling Behaviour in Collection…
prakashKannanSf3972 7794225
[Android] Switch: Add opt-in Material3 support (#33132)
NirmalKumarYuvaraj e2b0d80
[Android] CollectionView: Defer RemainingItemsThresholdReached to avo…
NirmalKumarYuvaraj 28378d1
[iOS/MacCatalyst] Fix Shell TabBarDisabledColor not working on disabl…
praveenkumarkarunanithi 441004d
[iOS] - Fixed ImageSource.FromFile fails when image in subfolder (#31…
NirmalKumarYuvaraj 3c0841b
[Android][iOS] SearchBar: Fix UserInteractionEnabled not respecting I…
NirmalKumarYuvaraj e025a4c
[blazorwebview] align `SupportedOSPlatform` attribute with templates …
jonathanpeppers 65666ba
Fix Changing Shell.NavBarIsVisible does not update the nav bar (#30339)
devanathan-vaithiyanathan 767a71d
[Android] Fix for Shell custom FlyoutIcon display problem (#27502)
Ahamed-Ali 5de8c76
Refactor image rotation and PNG format logic (#33140)
kubaflo a2ebfaa
[iOS/Mac] SwipeGestureRecognizer: Avoid firing parent swipes during c…
KarthikRajaKalaimani 395c441
[iOS] Fix incorrect FirstVisibleItemIndex reported by CollectionView.…
Shalini-Ashokan babb05a
[Android] Implemented Material3 support for ImageButton (#33649)
Dhivya-SF4094 1600c5d
Fix LayoutCycleException from nested Borders on Windows (#34337)
Oxymoron290 bd99c8a
[Android, iOS] - Flyout icon should remain visible when a page is pus…
praveenkumarkarunanithi c9c64ef
[Android] Implement material3 support for Slider (#33603)
HarishwaranVijayakumar 92fa3aa
Fix Compiled Bindings with explicit sources inside DataTemplates (#34…
SubhikshaSf4851 97f5219
[Android] CarouselView incorrectly reads out "double tap to activate"…
kubaflo 509466d
[Android] Implemented Material3 support for DatePicker (#33651)
Dhivya-SF4094 1cda93c
Fix CS0246: Replace MauiMaterialSlider with Slider in SliderExtension…
sheiksyedm 7f52e2e
[Android] Implement material3 support for Entry (#33673)
HarishwaranVijayakumar 6e8b22d
Fix incorrect access modifier in Slider extension (#34553)
HarishwaranVijayakumar 2b776fb
Fix FlexLayout items with dynamic WidthRequest not updating on Androi…
Oxymoron290 bb64f44
[XAML] Fix type resolver incorrectly matching static Extension classe…
Shalini-Ashokan 8ef068f
[iOS, Windows] GraphicsView: Fix GetStringSize() returning inaccurate…
Dhivya-SF4094 54afcd0
IndicatorView: Fix MaximumVisible not respected when using custom Ind…
SyedAbdulAzeemSF4852 e8a4cc8
[iOS] Fix for CarouselView remains interactive when disabled (#32794)
SyedAbdulAzeemSF4852 7b2c762
Fixed Shell TitleView disappears when switching between tabs on Andro…
KarthikRajaKalaimani fc25954
[Android/iOS/MacCatalyst] Shell.ForegroundColor: Reset back button co…
SubhikshaSf4851 a40b869
[Android] Fix SwipeItem FontImageSource.Size being ignored (#34505)
Shalini-Ashokan c5beee4
[Windows] Fix TitleBar color not applied to the Flyout icon backgroun…
Tamilarasan-Paranthaman cae428f
[Windows] Fix for Shell.FlyoutVerticalScrollMode="Disabled" does not …
HarishwaranVijayakumar 3a5748b
[Android/iOS] Fix CollectionView not respecting SafeAreaEdges setting…
praveenkumarkarunanithi 3c8662e
[Testing] Additional Feature Matrix Test Cases for CollectionView - 2…
TamilarasanSF4853 36f15a7
[Testing] Fix for flaky UITests in CI - 2 (#33470)
TamilarasanSF4853 89288af
Fixed SourceGen with invalid x:DataType or invalid bindings does not …
KarthikRajaKalaimani be630e7
[Android, Windows] Fix CollectionView handler cleanup when DataTempla…
Vignesh-SF3580 23b5e1c
[Windows] Fix for inconsistent PanGestureRecognizer behavior on Windo…
HarishwaranVijayakumar 51d0403
[Windows] Fix Narrator announcing typed characters for password Entry…
Vignesh-SF3580 fc75744
[Windows] Fix for crash when navigating to an existing page using Set…
BagavathiPerumal 0a3f9c5
[Testing] Additional Feature Matrix Event Test Cases for Stepper, Ref…
nivetha-nagalingam 064e731
[iOS] Trigger OnNavigatedTo method when hide the nav bar and using sw…
kubaflo 0dba3b8
[Windows] Fixed COMException when changing Image Aspect to Fill (#34033)
SubhikshaSf4851 631f996
[iOS, Mac] Fix exponential event handler accumulation in CollectionVi…
Vignesh-SF3580 b5dc39d
[Windows]Fix for AdaptiveTrigger Not Firing When Changing Window Widt…
BagavathiPerumal d697e22
[iOS][Windows] ScrollView: Fix ScrollToAsync hanging when already at …
KarthikRajaKalaimani d686a51
SelectionLength property update when entry is focused - fix (#26213)
kubaflo 9c3e890
[Android] ScrollView - Setting SetClipChildren to false (#26475)
kubaflo 36d905d
[Android] Fix for disabled Picker prevents the parent container's Ges…
SyedAbdulAzeemSF4852 d880cd6
[Windows] Fixed Setting a ContentView with a content of StaticResourc…
Ahamed-Ali 4d09940
[Android] Fix for Shadows disappearing permanently in Android after L…
BagavathiPerumal e839269
[Windows] Fix for NavigationPage transitions still animating when pas…
SyedAbdulAzeemSF4852 754a588
[PR-Agent] Fix ApplyQueryAttributes called with empty dictionary on b…
kubaflo 79b586c
[Windows] FontImageSource: Fix center alignment inside Image (#30068)
Shalini-Ashokan 7db5de6
[Android] Fix the Setting Content of ContentView through style would …
Ahamed-Ali 5e61105
Removed SearchHandler Style Definitions (#29955)
NirmalKumarYuvaraj f4687ba
[Regression][Windows]Fix Exception thrown on .NET 10 Windows when cal…
devanathan-vaithiyanathan a1a96b5
[iOS] Fix SearchBar Black Background Issue When Setting Transparent B…
devanathan-vaithiyanathan 62194d8
[Android] Fixed CollectionView MeasureFirstItem ItemSizingStrategy No…
NanthiniMahalingam ad9a7cf
Fixed - Grouped CollectionView items not rendered properly on Android…
KarthikRajaKalaimani 1e0915c
[Windows] Fix for TimePicker rendering a default time when its value …
SyedAbdulAzeemSF4852 e3c0b71
[Windows] Fixed : Switch control default width issue (#30538)
Tamilarasan-Paranthaman 4e95810
[Windows] Fixed: Setting BackgroundColor for Slider updates the Maxim…
Tamilarasan-Paranthaman ee4706c
Fixed Query parameters not passed on Shell navigation (#30034)
Vignesh-SF3580 fa72462
[Windows] Fixed Horizontal Spacing for Horizontal List (#28311)
SubhikshaSf4851 bbb5981
[iOS] Fixed the flyout icon and content page disappeared when focus o…
NanthiniMahalingam f52e212
Bugfix/26633 grid layout manager (#26641)
maonaoda b8f9ec9
Fixed the Label height nested VerticalStackLayout is truncated when w…
NanthiniMahalingam 68e994f
Fix FlexLayout Grow causes measured child sizes to be ignored (#34535)
devanathan-vaithiyanathan 9b22dfe
Windows: Fix PanGestureRecognizer not starting when drag begins near …
jpd21122012 9310da2
Removed PhotosAddOnly permission request within MediaPicker.ios (#34287)
Kyranio 6426fe0
[Windows, MAC] - Fix Selected State Not Being Retained in CollectionV…
prakashKannanSf3972 288ef2e
Fix pan & swipe update event values on Windows (#33540)
jeremy-visionaid a307071
[iOS] BackButtonBehavior IsEnabled - fix (#28734)
kubaflo 1d6e140
Fix CollectionView grid spacing updates for first row and column (#34…
KarthikRajaKalaimani 60895e1
Fix CollectionView grid spacing updates for first row and column (#34…
KarthikRajaKalaimani c6d5490
Fixed Early casting in Entry bound to double for negative decimal inp…
Dhivya-SF4094 6435240
[Android] Navigation bar - left margin fix (#20967)
kubaflo 786a8c5
[Android] ToolbarItems Tooltip text color (#28427)
kubaflo 072417a
[iOS 26] Fix NavigationPage blank screen after rapidly pushing and po…
mduchev e8775b8
[Android] Flyout IsGestureEnabled fix (#21686)
kubaflo 0d98934
[Testing] Feature Matrix UITest Cases for TabbedPage (#31572)
TamilarasanSF4853 8f349a9
[Issue-Resolver] Fix alert dialogs not displaying after dismissing mo…
kubaflo ffcb8cf
[Android] ItemsUpdatingScrollMode in CarouselView (#30106)
kubaflo 87825c6
[Android] Fix crash when shared swipe actions are used across multipl…
Shalini-Ashokan a5d136e
Fix: missing style file in single file bundle (#33692)
ilonatommy 1a44d18
[Testing] Resolved build error in CollectionView scrolling feature te…
TamilarasanSF4853 47b5050
[Windows] Fix DatePicker CharacterSpacing Property Not Working (#30495)
devanathan-vaithiyanathan 6d7904f
[Windows] Fix image shift in CarouselView when resizing the window (#…
Vignesh-SF3580 98e1aff
[MacOS] Fixed NullReferenceException when using ImagePaint (#28726)
NirmalKumarYuvaraj 78d7e13
[Android] Fix MapElements.Clear() not removing native elements from G…
KarthikRajaKalaimani 728b5f3
[iOS] Fixed the ConnectivityChanged event is not triggered when toggl…
KarthikRajaKalaimani d6cb411
[Android] [Windows] Fixed text deletion via the clear icon in SearchB…
Tamilarasan-Paranthaman b89847a
[Windows] Fixed CollectionView throws NRE when value of IsGrouped pro…
NirmalKumarYuvaraj 00535e4
[Testing] Resolved build error in inflight/current branch (#34616)
TamilarasanSF4853 3d81bcd
Fix CollectionView record struct selection on Windows (#33488)
jeremy-visionaid e23c4a2
[Testing] Additional Feature Matrix Event Test Cases for Slider and S…
nivetha-nagalingam 5839cda
[Android] ImageButton CornerRadius not being applied - fix (#30074)
kubaflo 9b90ca8
[Android] Ensure disconnected ItemsViewHandler doesn't hold onto the …
filipnavara d25828d
[Android] Fix Share.RequestAsync SecurityException on Android 10+ cau…
HarishwaranVijayakumar f426455
[Windows] Fixed VisualState Setters not working properly for Collecti…
Dhivya-SF4094 37fc7eb
Fixed BindingContext of the Window TitleBar is not being passed on to…
NirmalKumarYuvaraj d71a672
[Windows] Fixed Margin doesn't work inside CollectionView EmptyView (…
Dhivya-SF4094 7034e55
[Windows] Fixed SearchHandler issues (#29520)
Tamilarasan-Paranthaman e6c8ebb
[iOS , macOS] Fixed Label text cropping when a width request is speci…
NanthiniMahalingam 08da508
[iOS] Alert popup may be displayed on wrong window when modal page na…
kubaflo cd955c5
Fixed Editor HorizontalTextAlignment does not update at run time (#25…
NirmalKumarYuvaraj 6115410
[Android] Fix overflowing children clipped when parent Opacity < 1 (#…
SyedAbdulAzeemSF4852 cd6f937
[Android, Windows] Fix CarouselView PreviousPosition/PreviousItem in…
praveenkumarkarunanithi 166a90c
[Android] Fix Label word wrapping clips text depending on alignment a…
Dhivya-SF4094 f2820f9
[Shapes] Line: Fix asymmetric Stretch.None path translation when righ…
NirmalKumarYuvaraj a448c1f
[iOS] CarouselView2: Update internal scroll indicators for compositio…
SubhikshaSf4851 c31c236
[iOS, Mac] Fix for Background set to Transparent doesn't have the sam…
HarishwaranVijayakumar 79182b7
[Windows]Fixed the MauiImage with logical name containing path issue …
sheiksyedm b4402f7
Fixed the FlexLayout reverse issue with the AlignContent (#32134)
Ahamed-Ali c5aeb07
[CarouselViewHandler2] Fir fox CurrentItem does not work when ItemSpa…
SyedAbdulAzeemSF4852 91b314e
[iOS] Fix for Incorrect Scroll in Loop Mode When CurrentItem Is Not F…
SyedAbdulAzeemSF4852 ec0f9f9
[Android] IndicatorView: Add TalkBack accessibility descriptions for …
praveenkumarkarunanithi 4b46e02
[Windows/Mac] Fix RTL FlowDirection causes overlap with native window…
devanathan-vaithiyanathan 9f58061
[iOS/Mac] Fixed BoxView in AbsoluteLayout did not return to its defau…
Dhivya-SF4094 381fb58
[Windows] FlyoutPage: update CollapseStyle at runtime (#29927)
devanathan-vaithiyanathan 549ffb1
Fixed the Picker didn't dismiss it when tapping outside on iOS and Ma…
KarthikRajaKalaimani aac74bc
[Windows] Fix fo setting an Entry's Keyboard to Date causes it to be …
SyedAbdulAzeemSF4852 e7b683b
[Android] Fixed GraphicsView drawable is visible outside the canvas (…
NirmalKumarYuvaraj 549871f
[Android, Windows & iOS] Fix Downsize/ScaleImage to maintain aspect r…
SyedAbdulAzeemSF4852 f89cb5f
[Android] SwipeView: Use MeasureSpecMode.Exactly for SwipeItem layout…
Ahamed-Ali 5599ec0
[Android] Fix SearchBar text bleeding between instances after navigat…
SyedAbdulAzeemSF4852 0c8127a
[iOS] Preserve ScrollView offsets when Orientation changes to Neither…
Vignesh-SF3580 2edea8f
[iOS, macOS] Fixed CollectionView KeepLastItemInView Not Updating Cor…
NanthiniMahalingam 4035904
[iOS] Fix App crash with NullReferenceException in ShellSectionRender…
devanathan-vaithiyanathan a0e57a7
[Android] Fix for TapGestureRecognizer doesn't fire (#34497)
HarishwaranVijayakumar 953bf3a
[Windows, Android] Resolved issue with dynamic Header/Footer reassign…
prakashKannanSf3972 8c398d9
[Android] Fix CollectionView inside disabled RefreshView blocks scrol…
Vignesh-SF3580 97020e5
[Android] Fixed back button icon selection logic in ShellToolbarTrack…
kubaflo 4b5c46e
[Windows] Fix WebView background color not being applied (#34599)
SubhikshaSf4851 4a5f696
Fix TabBarIsVisible Not Updating Dynamically When Set on ShellContent…
Vignesh-SF3580 9304d41
[Android] CollectionView: Fix SelectedItem visual state not applying …
KarthikRajaKalaimani c9d0fc3
Improved style inheritance (#31317)
kubaflo dbcbd58
[iOS, macOS] Shell: Fix RTL flow direction for flyout, menu cells, ta…
NanthiniMahalingam 31257d8
[Android] Fix for WebView/HybridWebView briefly flashes full screen b…
praveenkumarkarunanithi af54058
[Android] Page: Fix OnNavigatedTo called twice when NavigationPage is…
KarthikRajaKalaimani eda0b73
LineHeight and decorations for HTML Label - fix (#31202)
kubaflo a93f47b
[Android] PopToRootAsync for modal pages - improvements (#26851)
kubaflo 46905f8
[IOS] Inconsistent Resize Behavior for Header/Footer - fix (#28713)
kubaflo 880dfe4
[Windows] Implement WinUI 3 MapControl handler using Azure Maps (#34138)
jfversluis 84852f9
[Windows] Fixed Entry Editor placeholder Text CharacterSpacing (#30324)
SubhikshaSf4851 87294a9
[Android] Fix for SearchHandler retaining previous page SearchView da…
BagavathiPerumal 980b67e
[Windows] Fixed CollectionView.EmptyView can not be removed by settin…
Dhivya-SF4094 1b536ad
[iOS & Mac] Fix for SearchHandler retains previous page state when sw…
BagavathiPerumal 34b530f
[iOS] Support for IsSwipeEnabled on CarouselView2 (#29996)
kubaflo e53ac21
[Android] Prevent the tap that closes an open SwipeView from being pr…
sjordanGSS 885d412
Bump MonoApiToolsMSBuildTasksPackageVersion to 0.5.0 and ship Essenti…
Copilot bc9e6b5
Fix Disabled visual state ignored when Button has locally-set Backgro…
Dhivya-SF4094 befa700
[iOS] Fix Label with TailTruncation not rendering after empty-to-non-…
kubaflo ae41078
Fix TalkBack not correctly narrating RadioButtons with Content (#34521)
SubhikshaSf4851 518f46f
Fix Loaded event not called for MAUI View added to native View (#34345)
NirmalKumarYuvaraj 86e9182
[Android] Fix SafeAreaShouldWorkOnAllShellTabs test failure on API 36…
praveenkumarkarunanithi 66bbb41
[Mac] DeviceDisplay.KeepScreenOn not being respected on Mac OS (#32708)
HarishwaranVijayakumar da33722
[Windows] Fixed Picker items width wont resize back (#33042)
SubhikshaSf4851 f9142c9
Fix: Filter precompressed RCL assets from MAUI Blazor Hybrid APKs (#3…
mattleibow 904ef36
[iOS] Fix for DatePicker FlowDirection Not Working on iOS (#30193)
SyedAbdulAzeemSF4852 17b7df9
[iOS, MacOS] Fixed FlowDirection not working on Header/Footer in Coll…
Dhivya-SF4094 b7c6936
[Android] Exception thrown when give more than 5000 characters to the…
KarthikRajaKalaimani a659496
Add public IAlertManager and IAlertManagerSubscription interfaces (#3…
Redth a446e6b
[Android] Fixed NullReferenceException in app with TabBar after retur…
NirmalKumarYuvaraj 4b47f29
[iOS] CollectionView: Fix drag-and-drop reordering into empty groups …
SuthiYuvaraj 747d375
[Android] Fix empty space above TabBar after navigating back when Tab…
praveenkumarkarunanithi 7b9c8ef
[Android] CollectionView: Fix drag-and-drop reordering into empty gro…
SuthiYuvaraj 9ae34cd
[iOS] Fix vertical CarouselView MandatorySingle snapping on iOS (#34700)
Vignesh-SF3580 e2dfbf9
Fixed Custom Drawable does not support binding (#29442)
NirmalKumarYuvaraj 4388483
[Android] Fix HideSoftInputOnTapped doesn't work on Modal Pages (#34770)
HarishwaranVijayakumar d71832c
[Windows] Fix for Runtime error when closing external window with WPF…
BagavathiPerumal 3614923
Fixed SearchBar CursorPosition and SelectionLength not updating when …
Dhivya-SF4094 3bb3a8c
[iOS26] Fix CarouselView scrolling to wrong item when navigating to l…
Vignesh-SF3580 8e47243
Fix crash when displaying alerts on unloaded pages (#33288)
kubaflo 82f20f8
Added a support for GradientBrushes on Shape.Stroke (#22208)
kubaflo 76eb431
Merge branch 'main' into fix-29529
praveenkumarkarunanithi 7c42537
Merge branch 'inflight/current' from dotnet/maui into fix-29529
praveenkumarkarunanithi 93859a2
Remove unrelated try-fix skill changes from PR
praveenkumarkarunanithi 54b81ea
Merge branch 'inflight/current' from dotnet/maui into fix-29529
praveenkumarkarunanithi e34ba4f
Remove unrelated files from PR
praveenkumarkarunanithi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
113 changes: 113 additions & 0 deletions
113
src/Controls/tests/TestCases.HostApp/Issues/Issue29529.cs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,113 @@ | ||
| using System.Collections.ObjectModel; | ||
|
|
||
| namespace Maui.Controls.Sample.Issues; | ||
|
|
||
| [Issue(IssueTracker.Github, 29529, "CurrentItemChangedEventArgs and PositionChangedEventArgs Not Updating Correctly in CarouselView", PlatformAffected.UWP | PlatformAffected.Android)] | ||
| public class Issue29529 : ContentPage | ||
| { | ||
| int _positionChangedCount = 0; | ||
| int _currentItemChangedCount = 0; | ||
|
|
||
| public Issue29529() | ||
| { | ||
| var verticalStackLayout = new VerticalStackLayout(); | ||
| var carouselItems = new ObservableCollection<string> | ||
| { | ||
| "Item 1", | ||
| "Item 2", | ||
| "Item 3", | ||
| "Item 4", | ||
| "Item 5", | ||
| "Item 6", | ||
| }; | ||
|
|
||
| CarouselView carouselView = new CarouselView | ||
| { | ||
| ItemsSource = carouselItems, | ||
| AutomationId = "carouselview", | ||
| Position = 3, | ||
| ItemsUpdatingScrollMode = ItemsUpdatingScrollMode.KeepItemsInView, | ||
| Loop = false, | ||
| HeightRequest = 300, | ||
| ItemTemplate = new DataTemplate(() => | ||
| { | ||
| var grid = new Grid | ||
| { | ||
| Padding = 10 | ||
| }; | ||
|
|
||
| var label = new Label | ||
| { | ||
| VerticalOptions = LayoutOptions.Center, | ||
| HorizontalOptions = LayoutOptions.Center, | ||
| FontSize = 18, | ||
| }; | ||
| label.SetBinding(Label.TextProperty, "."); | ||
| label.SetBinding(Label.AutomationIdProperty, "."); | ||
|
|
||
| grid.Children.Add(label); | ||
| return grid; | ||
| }), | ||
| HorizontalOptions = LayoutOptions.Fill, | ||
| }; | ||
|
|
||
| var positionLabel = new Label | ||
| { | ||
| AutomationId = "positionLabel", | ||
| Text = $"Current Position{carouselView.Position}", | ||
|
praveenkumarkarunanithi marked this conversation as resolved.
Outdated
|
||
| HorizontalOptions = LayoutOptions.Center, | ||
| Padding = new Thickness(20), | ||
| }; | ||
|
|
||
| var itemLabel = new Label | ||
| { | ||
| AutomationId = "itemLabel", | ||
| Text = $"Current Item{carouselView.CurrentItem}", | ||
|
praveenkumarkarunanithi marked this conversation as resolved.
Outdated
|
||
| HorizontalOptions = LayoutOptions.Center, | ||
| Padding = new Thickness(20), | ||
| }; | ||
|
|
||
| var eventCountLabel = new Label | ||
| { | ||
| AutomationId = "eventCountLabel", | ||
| Text = "PositionChanged: 0, CurrentItemChanged: 0", | ||
| HorizontalOptions = LayoutOptions.Center, | ||
| Padding = new Thickness(20), | ||
| }; | ||
|
|
||
| carouselView.PositionChanged += (s, e) => | ||
| { | ||
| _positionChangedCount++; | ||
| positionLabel.Text = $"Current Position: {e.CurrentPosition}, Previous Position: {e.PreviousPosition}"; | ||
| eventCountLabel.Text = $"PositionChanged: {_positionChangedCount}, CurrentItemChanged: {_currentItemChangedCount}"; | ||
| }; | ||
|
|
||
| carouselView.CurrentItemChanged += (s, e) => | ||
| { | ||
| _currentItemChangedCount++; | ||
| itemLabel.Text = $"Current Item: {e.CurrentItem}, Previous Item: {e.PreviousItem}"; | ||
| eventCountLabel.Text = $"PositionChanged: {_positionChangedCount}, CurrentItemChanged: {_currentItemChangedCount}"; | ||
| }; | ||
|
|
||
| var insertButton = new Button | ||
| { | ||
| Text = "Insert item at index 0", | ||
| AutomationId = "InsertButton", | ||
| Margin = new Thickness(20), | ||
| }; | ||
|
|
||
| insertButton.Clicked += (sender, e) => | ||
| { | ||
| _positionChangedCount = 0; | ||
| _currentItemChangedCount = 0; | ||
| carouselItems.Insert(6, "Item 0"); | ||
|
praveenkumarkarunanithi marked this conversation as resolved.
Outdated
|
||
| }; | ||
|
|
||
| verticalStackLayout.Children.Add(carouselView); | ||
| verticalStackLayout.Children.Add(insertButton); | ||
| verticalStackLayout.Children.Add(positionLabel); | ||
| verticalStackLayout.Children.Add(itemLabel); | ||
| verticalStackLayout.Children.Add(eventCountLabel); | ||
| Content = verticalStackLayout; | ||
| } | ||
| } | ||
28 changes: 28 additions & 0 deletions
28
src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue29529.cs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| using NUnit.Framework; | ||
| using UITest.Appium; | ||
| using UITest.Core; | ||
|
|
||
| namespace Microsoft.Maui.TestCases.Tests.Issues; | ||
|
|
||
| public class Issue29529 : _IssuesUITest | ||
| { | ||
| public override string Issue => "CurrentItemChangedEventArgs and PositionChangedEventArgs Not Updating Correctly in CarouselView"; | ||
|
|
||
| public Issue29529(TestDevice device) | ||
| : base(device) | ||
| { } | ||
|
|
||
| [Test] | ||
| [Category(UITestCategories.CarouselView)] | ||
| public void Issue29529VerifyPreviousPositionOnInsert() | ||
| { | ||
| App.WaitForElement("carouselview"); | ||
| App.Tap("InsertButton"); | ||
| var text = App.FindElement("positionLabel").GetText(); | ||
| Assert.That(text, Is.EqualTo("Current Position: 0, Previous Position: 3")); | ||
| text = App.FindElement("itemLabel").GetText(); | ||
| Assert.That(text, Is.EqualTo("Current Item: Item 1, Previous Item: Item 4")); | ||
| text = App.FindElement("eventCountLabel").GetText(); | ||
| Assert.That(text, Is.EqualTo("PositionChanged: 1, CurrentItemChanged: 1")); | ||
| } | ||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.