Skip to content
This repository was archived by the owner on Feb 25, 2026. It is now read-only.
This repository was archived by the owner on Feb 25, 2026. It is now read-only.

GridSplitter adding width to column will make grid overflow #1894

Open

Description

@fatcatz888

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: )

Activity

  1. skendrot commented on Mar 15, 2018

    @skendrot
    Contributor

    We need to figure out a way to unit test that thing...

  2. windowstoolkitbot commented on Mar 23, 2018

    @windowstoolkitbot

    This issue seems inactive. It will automatically be closed in 14 days if there is no activity.

  3. added
    bug 🐛An unexpected issue that highlights incorrect behavior
    help wantedIssues identified as good community contribution opportunities
    on Mar 23, 2018
  4. added this to the 3.0 milestone on Mar 23, 2018
  5. kbrons commented on Apr 17, 2018

    @kbrons
    Contributor

    I'm going to work on this, if that's OK.

  6. fatcatz888 commented on Apr 18, 2018

    @fatcatz888
    Author

    Please do. It might also be affecting the cursor too as sometimes when I navigate to a page with the GridSplitter controls the cursor disappears. It only appears when the cursor is hovering over the GridSplitter control.

  7. kbrons commented on Apr 18, 2018

    @kbrons
    Contributor

    I'm not sure if that's related to this issue. Would you mind just reporting it as a separate issue? If I'm wrong, I'll also reference the second issue in the pull request.

  8. fatcatz888 commented on Apr 18, 2018

    @fatcatz888
    Author

    Ok, I'll report it as a separate issue.

  9. modified the milestones: 3.0, on May 23, 2018
  10. modified the milestones: , 4.0 on Jul 11, 2018
  11. added this to the 6.0 milestone on Apr 12, 2019
  12. michael-hawker commented on Apr 12, 2019

    @michael-hawker
    Member

    @jamers99 @fatcatz888 sorry for the delay on this, we've been wanting to re-work GridSplitter for a while now. I'm hoping we can get to it this summer. I have a new implementation from the UI side I used for something else which fixes the mouse-cursor issues, but some of this underlying logic needs some TLC.

    I think @skendrot's point is the best that we need a better strategy all-up for how to handle all these scenarios and how to also test them and ensure we get it right. If you have any thoughts, let us know.

  13. modified the milestones: 6.0, 6.1 on Oct 24, 2019
  14. modified the milestones: 6.1, 7.0 on May 26, 2020
  15. modified the milestones: 7.0, 7.1 on Dec 9, 2020
  16. modified the milestones: 7.1, 7.2/8.0? on Aug 31, 2021
  17. ghost removed this from the 7.1 milestone on Aug 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug 🐛An unexpected issue that highlights incorrect behaviorcontrols 🎛️help wantedIssues identified as good community contribution opportunitiesin progress 🚧

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions