File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -1245,6 +1245,14 @@ private bool ComputeDisplayedColumns()
1245
1245
_horizontalOffset -= GetEdgedColumnWidth ( dataGridColumn ) ;
1246
1246
dataGridColumn = this . ColumnsInternal . GetPreviousVisibleScrollingColumn ( dataGridColumn ) ;
1247
1247
}
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
+ }
1248
1256
}
1249
1257
1250
1258
// third try to partially scroll in first scrolled off column
Original file line number Diff line number Diff line change 4
4
<clear />
5
5
<add key =" nuget.org" value =" https://api.nuget.org/v3/index.json" protocolVersion =" 3" />
6
6
<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" />
8
7
<add key =" unoplatformdev" value =" https://pkgs.dev.azure.com/uno-platform/1dd81cbd-cb35-41de-a570-b0df3571a196/_packaging/unoplatformdev/nuget/v3/index.json" />
9
8
</packageSources >
10
9
<disabledPackageSources >
You can’t perform that action at this time.
0 commit comments