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

AnnotatedScrollBar slides off screen #9854

Closed
gi-b716 opened this issue Jul 19, 2024 · 4 comments
Closed

AnnotatedScrollBar slides off screen #9854

gi-b716 opened this issue Jul 19, 2024 · 4 comments
Assignees
Labels
area-ScrollBar bug Something isn't working team-Controls Issue for the Controls team

Comments

@gi-b716
Copy link

gi-b716 commented Jul 19, 2024

Which version of the app?

WinUI 3 Gallery

Description

In WinUi3 Gallery's AnnotatedScrollBar demo, when the window is not maximized, dragging the slider outside of the window allows it to continue to move

Screenshots

2024-07-19_23-36-16.mp4

Windows version

Windows 11 23H2 (22631)

Additional context

No response

Tasks

No tasks being tracked yet.
@gi-b716 gi-b716 added bug Something isn't working needs-triage Issue needs to be triaged by the area owners labels Jul 19, 2024
@gi-b716 gi-b716 changed the title Bug title AnnotatedScrollBar slides off screen Jul 20, 2024
@karkarl
Copy link
Contributor

karkarl commented Jul 25, 2024

This looks like an issue with AnnotatedScrollBar. Transferring issue to microsoft-ui-xaml repo.

@karkarl karkarl removed the needs-triage Issue needs to be triaged by the area owners label Jul 25, 2024
@karkarl karkarl transferred this issue from microsoft/WinUI-Gallery Jul 25, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added the needs-triage Issue needs to be triaged by the area owners label Jul 25, 2024
@karkarl
Copy link
Contributor

karkarl commented Jul 25, 2024

It seems to be normal to be able to drag scrollviewer in the same pointer event even when the mouse has left the window boundaries. It seems the issue is with the height of the scrollviewer not adapting to the height of the window, since it's a scrollviewer in scrollviewer scenario in WinUI-Gallery. This is poor design in general cases, but makes sense for the gallery scenario.

The question is if this is an issue with all scrollviewer controls, or if it's by design.

@JesseCol JesseCol added team-Controls Issue for the Controls team area-ScrollBar and removed needs-triage Issue needs to be triaged by the area owners labels Jul 29, 2024
@JohnnyWestlake
Copy link

JohnnyWestlake commented Jul 30, 2024

I would say this is expected behaviour personally and present on all scroll controls - i.e, the scrollbar captures the pointer and lets you continue scroll even if not directly touching it, partly to improve usability because of how thin the scrollbar can be.

@ranjeshj
Copy link
Contributor

ranjeshj commented Sep 4, 2024

Yes. This is by design.

@ranjeshj ranjeshj closed this as not planned Won't fix, can't repro, duplicate, stale Sep 4, 2024
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 team-Controls Issue for the Controls team
Projects
None yet
Development

No branches or pull requests

6 participants