Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DataGrid - Column header resize cursor (SizeWestEast) remains after column resize #4950

Open
3 of 14 tasks
dimon94583 opened this issue Nov 11, 2023 · 8 comments
Open
3 of 14 tasks
Labels
bug 🐛 An unexpected issue that highlights incorrect behavior DataGrid 🔠 Issues on DataGrid control needs attention 👋 needs triage 🔍

Comments

@dimon94583
Copy link

Describe the bug

Using DataGrid v7.1.2 instance with resizable columns if let's say 3 adjacent columns are resized to a minimum width and then the second column is sized back to a normal width the cursor remains as SizeWestEast whenever the pointer hovers over column header.
DataGrid_ColumnHeader_ResizeCursor_Sample.zip

Regression

No response

Reproducible in sample app?

  • This bug can be reproduced in the sample app.

Steps to reproduce

1. Download and unzip the attached sample app. 
2. Open in VS2022, compile and run
3. Collapse (minimize width) columns Mountain, Height (m) and Range
4. Make second column (Height) wider and then collapse it again
5. Make second column (Height) wider again and observe that column header cursor is permanently set to resize (SizeWestEast)

Expected behavior

Second column (Height) header cursor should only switch to resize (SizeWestEast) when hovering over or in the vicinity of the header divider.

Screenshots

datagrid_columnheader_resize_cursor 1
datagrid_columnheader_resize_cursor 2
datagrid_columnheader_resize_cursor 3
datagrid_columnheader_resize_cursor 4
datagrid_columnheader_resize_cursor 5

Windows Build Number

  • Windows 10 1809 (Build 17763)
  • Windows 10 1903 (Build 18362)
  • Windows 10 1909 (Build 18363)
  • Windows 10 2004 (Build 19041)
  • Windows 10 20H2 (Build 19042)
  • Windows 10 21H1 (Build 19043)
  • Windows 11 21H2 (Build 22000)
  • Other (specify)

Other Windows Build number

Windows 10 22H2 19045.3570

App minimum and target SDK version

  • Windows 10, version 1809 (Build 17763)
  • Windows 10, version 1903 (Build 18362)
  • Windows 10, version 1909 (Build 18363)
  • Windows 10, version 2004 (Build 19041)
  • Other (specify)

Other SDK version

No response

Visual Studio Version

2022

Visual Studio Build Number

Version 17.4.3

Device form factor

Desktop

Nuget packages

CommunityToolkit.WinUI.UI.Controls.DataGrid 7.1.2
Microsoft.WindowsAppSDK 1.4.231008000

Additional context

No response

Help us help you

No.

@dimon94583 dimon94583 added the bug 🐛 An unexpected issue that highlights incorrect behavior label Nov 11, 2023
@ghost ghost added the needs triage 🔍 label Nov 11, 2023
@ghost
Copy link

ghost commented Nov 11, 2023

Hello dimon94583, thank you for opening an issue with us!

I have automatically added a "needs triage" label to help get things started. Our team will analyze and investigate the issue, and escalate it to the relevant team if possible. Other community members may also look into the issue and provide feedback 🙌

@ghost ghost added the needs attention 👋 label Nov 26, 2023
@ghost
Copy link

ghost commented Nov 26, 2023

This issue has been marked as "needs attention 👋" due to no activity for 15 days. Please triage the issue so the fix can be established.

3 similar comments
@ghost
Copy link

ghost commented Dec 11, 2023

This issue has been marked as "needs attention 👋" due to no activity for 15 days. Please triage the issue so the fix can be established.

@ghost
Copy link

ghost commented Dec 26, 2023

This issue has been marked as "needs attention 👋" due to no activity for 15 days. Please triage the issue so the fix can be established.

@ghost
Copy link

ghost commented Jan 10, 2024

This issue has been marked as "needs attention 👋" due to no activity for 15 days. Please triage the issue so the fix can be established.

@Arlodotexe Arlodotexe added the DataGrid 🔠 Issues on DataGrid control label Jan 23, 2024
@ghost
Copy link

ghost commented Feb 7, 2024

This issue has been marked as "needs attention 👋" due to no activity for 15 days. Please triage the issue so the fix can be established.

2 similar comments
@ghost
Copy link

ghost commented Feb 23, 2024

This issue has been marked as "needs attention 👋" due to no activity for 15 days. Please triage the issue so the fix can be established.

@ghost
Copy link

ghost commented Mar 9, 2024

This issue has been marked as "needs attention 👋" due to no activity for 15 days. Please triage the issue so the fix can be established.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 An unexpected issue that highlights incorrect behavior DataGrid 🔠 Issues on DataGrid control needs attention 👋 needs triage 🔍
Projects
None yet
Development

No branches or pull requests

2 participants