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

Scrollbar inconsistently handles clicking on scrollbar region (not thumb) #10122

Open
carlos-zamora opened this issue Oct 30, 2024 · 2 comments
Labels
area-ScrollBar bug Something isn't working

Comments

@carlos-zamora
Copy link
Member

carlos-zamora commented Oct 30, 2024

Describe the bug

From microsoft/terminal#18063

Typically when mouse click the scrollbar(not the thumb), hold the mouse button down. The scrollbar will:
page up, , page up, page up, page up, page up,...
Then thumb will stop at the mouse pointer position.
Instead, there are 3 random behaviors.

  1. Page up/down once and stop.
  2. Thumb not stop. And reach the top/bottom position.
  3. Thumb move across the mouse pointer position.
Video.webm

Steps to reproduce the bug

  1. Go to a page with a long scroll region in the WinUI 2 gallery (I used ListView)
  2. Click and hold on the scrollbar region (not the thumb)

Expected behavior

We should be consistent. I'd expect it to scroll to the pointer position.

Screenshots

No response

NuGet package version

WinUI2. Also repros in WinUI3

Windows version

No response

Additional context

No response

@carlos-zamora carlos-zamora added the bug Something isn't working label Oct 30, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added the needs-triage Issue needs to be triaged by the area owners label Oct 30, 2024
@karkarl
Copy link
Contributor

karkarl commented Oct 31, 2024

Does this bug also repro in WinUI3? This may not meet the bar for WinUI2 servicing.

@karkarl karkarl added area-ScrollBar product-winui2 and removed needs-triage Issue needs to be triaged by the area owners labels Oct 31, 2024
@carlos-zamora
Copy link
Member Author

Yup! Just tried it in WinUI 3 controls gallery (All samples, then made the window very narrow).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-ScrollBar bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants