CommunityToolkit/WindowsCommunityToolkit
View on GitHubGridSplitter adding width to column will make grid overflow
Open
#1,894 opened on Mar 15, 2018
bug :bug:controls :control_knobs:help wantedin progress :construction:
Description
I'm submitting a...
Current behavior
Adjusting the splitter when the second column has a default width will make the grid overflow when dragged right then left.
Expected behavior
Splitter respects the root grid bounds.
Minimal reproduction of the problem with instructions
Using GridSplitter in UWP Community Toolkit Sample App. Change line 19 and 20 to:
<ColumnDefinition Width="120" />
<ColumnDefinition MinWidth="100" />
Drag vertical splitter right then left. It will allow you to resize the second column all the way to the right edge of the widow hiding the third column.
Environment
Nuget Package(s):
Microsoft.Toolkit v2.2.0
Microsoft.Toolkit.Uwp v2.2.0
Microsoft.Toolkit.Uwp v2.2.0
Microsoft.Toolkit.Uwp.Controls v2.2.0
Package Version(s):
Windows 10 Build Number:
- [ ] Anniversary Update (14393)
- [ ] Creators Update (15063)
- [X ] Fall Creators Update (16299)
- [ ] Insider Build (build number: )
App min and target version:
- [ ] Anniversary Update (14393)
- [ ] Creators Update (15063)
- [X ] Fall Creators Update (16299)
- [ ] Insider Build (xxxxx)
Device form factor:
- [ X] Desktop
- [ ] Mobile
- [ ] Xbox
- [ ] Surface Hub
- [ ] IoT
Visual Studio
- [X ] 2017 (version: 15.6.1)
- [ ] 2017 Preview (version: )