DataGrid: DataGridDetails height can grow, but never shrink #4235
Labels
bug 🐛
An unexpected issue that highlights incorrect behavior
DataGrid 🔠
Issues on DataGrid control
help wanted
Issues identified as good community contribution opportunities
Projects
Milestone
Describe the bug
When using the
RowDetailsVisibilityMode="VisibleWhenSelected"
mode on<DataGrid />
and having a content with dynamic size, the content can grow but never shrinks. If the content shinks, the allocated space won't shrink. SEE ANIMAGED GIF BELOW, THE PROBLEM IS OBVIOUS.Is this bug a regression in the toolkit? DON'T THINK SO
Steps to Reproduce
Can this be reproduced in the Sample App? YEP (check below)
Steps to reproduce the behavior:
DataGridCode.bind
fileRowDetailsTemplate
DataTemplate, add following lines just before the closing</StackPanel>
:RowDetailsVisibilityMode
toVisibleWhenSelected
Expected behavior
The row details should shrink to following its content.
Screenshots
Environment
Observed on Windows.
NuGet Package(s): Observed on
7.0.2
Package Version(s):
Windows 10 Build Number:
App min and target version:
Device form factor:
Visual Studio version:
Additional context
The text was updated successfully, but these errors were encountered: