File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1245,6 +1245,14 @@ private bool ComputeDisplayedColumns()
12451245 _horizontalOffset -= GetEdgedColumnWidth ( dataGridColumn ) ;
12461246 dataGridColumn = this . ColumnsInternal . GetPreviousVisibleScrollingColumn ( dataGridColumn ) ;
12471247 }
1248+
1249+ if ( _horizontalOffset == 0 && cx < displayWidth )
1250+ {
1251+ // if the columns have been scrolled, and all visible columns are fully rendered in the available space,
1252+ // then HorizontalAdjustment needs to be updated so that DataGridCellsPresenter.ShouldDisplayCell
1253+ // don't hide columns based on the old value.
1254+ HorizontalAdjustment = displayWidth - cx ;
1255+ }
12481256 }
12491257
12501258 // third try to partially scroll in first scrolled off column
Original file line number Diff line number Diff line change 44 <clear />
55 <add key =" nuget.org" value =" https://api.nuget.org/v3/index.json" protocolVersion =" 3" />
66 <add key =" AzureLatest" value =" https://pkgs.dev.azure.com/dotnet/CommunityToolkit/_packaging/CommunityToolkit-MainLatest/nuget/v3/index.json" protocolVersion =" 3" />
7- <add key =" MUX-Shared" value =" https://pkgs.dev.azure.com/ms/microsoft-ui-xaml/_packaging/MUX-Shared/nuget/v3/index.json" />
87 <add key =" unoplatformdev" value =" https://pkgs.dev.azure.com/uno-platform/1dd81cbd-cb35-41de-a570-b0df3571a196/_packaging/unoplatformdev/nuget/v3/index.json" />
98 </packageSources >
109 <disabledPackageSources >
You can’t perform that action at this time.
0 commit comments