Skip to content

Scrollbar isn't properly synched with the scrolling #47

@Luffyyy

Description

@Luffyyy

Describe the bug
The scrolling on the datagrid is a bit weird, it's like not taking in account some items in the calculation so the scrollbar isn't fully representing the scrolling state. I checked it with the regular fluent theme and it doesn't have the same issue.
It happens with both manually holding the scrollbar and also scrolling with mousewheel.

To Reproduce
Steps to reproduce the behavior:

  1. Make a datagrid and limit its height.
  2. Populate it with enough items.

Expected behavior
The scrollbar properly represents the scrolling of the view.

Screenshots

shadui-app_LtNEXQGjHU.mp4

Desktop (please complete the following information):

  • OS: Windows 11
  • Version: 24H2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions