Avalonia.Controls.TreeDataGrid icon indicating copy to clipboard operation
Avalonia.Controls.TreeDataGrid copied to clipboard

TreeDataGrid vertical scroll is reset when scrolling horizontally

Open SuperJMN opened this issue 3 years ago • 2 comments

Describe the bug TreeDataGrid's vertical scroll is reset when you scroll horizontally.

To Reproduce Steps to reproduce the behavior:

  1. Create a TreeDataGrid with enough content to scroll both vertically and horizontally.
  2. Go to the vertical scrollbar and scroll down
  3. Scroll horizontally
  4. See how the vertical scroll is reset

Expected behavior The vertical scroll should not change.

Video

https://user-images.githubusercontent.com/3109851/189690656-cb3df157-a68f-40e2-9c9a-ad33cb765a26.mp4

Desktop (please complete the following information):

  • OS: Windows 11
  • Versions:
  • TreeDataGrid 0.10.10
  • Avalonia 0.10.18

SuperJMN avatar Sep 12 '22 15:09 SuperJMN

I think this issue belongs to: https://github.com/AvaloniaUI/Avalonia.Controls.TreeDataGrid

timunie avatar Sep 12 '22 17:09 timunie

I think this issue belongs to: https://github.com/AvaloniaUI/Avalonia.Controls.TreeDataGrid

Yes! Sorry, I didn't know there was a different repo for it 😅

SuperJMN avatar Sep 12 '22 17:09 SuperJMN