dotnet / dotnet/wpf

Columns incorrect resizing when scrolled to far right

Open
#8,383 5 comments 0 reactions 0 assignees View on GitHub
Needs minimal repro project needs more information
Dominant language
C#
Stars
7.7k
Forks
1.3k
Avg merge
1d 11h
Merged PRs (30d)
61

Description

### Description

If you scroll the horizontal scrollbar to the far right on a datagrid then attempt to resize a column it will produce unpredictable and incorrect resizing.

### Reproduction Steps

Create datagrid.
Have columns go further then the view.
Scroll to the very far right.
Try and resize a column.

### Expected behavior

Resizing will follow the cursor and break the scroll docking if necessary.

### Actual behavior

Resizing will continue to have the scrollbar locked to the far right and cause the column to sporadically change size while moving the cursor.

### Regression?

Unknown

### Known Workarounds

Unknown

### Impact

Poor user experience when faced with this particular input.

### Configuration

X64 .net6-windows

### Other information

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.