microsoft / microsoft/microsoft-ui-xaml

When attempting to capture Zoom related callbacks in ScrollView, it was found that the event could not be triggered.

Open
#10,812 0 comments 0 reactions 0 assignees View on GitHub
area-Scrolling bug
Dominant language
C++
Stars
8.4k
Forks
942
Avg merge
2d 7h
Merged PRs (30d)
105

Description

### Describe the bug

When attempting to capture zoom and scroll in ScrollView, such as using the mouse wheel, dragging the scrollbar slider with the mouse, clicking the decrease/increase button, clicking on the blank area of the slider, using two fingers to zoom in/out, and pressing Ctrl+mouse wheel, the corresponding ScrollAnimationStarting、ScrollCompleted、ZoomAnimationStarting、ZoomCompleted The callback was not triggered

### Why is this important?

Zoom in/out or scrolling up/down cannot be triggered which will harm user experience and reputation of new OS

### Steps to reproduce the bug

1. Create a new ScrollView and add an image to it
2. Use the mouse wheel to drag the scrollbar slider, click the reduce/increase button, click on the blank area of the slider, use two fingers to zoom in/out, and press Ctrl+mouse wheel,

### Actual behavior

ScrollAnimationStarting、ScrollCompleted、ZoomAnimationStarting、ZoomCompleted The callback was not triggered.

### Expected behavior

ScrollAnimationStarting、ScrollCompleted、ZoomAnimationStarting、ZoomCompleted Can trigger callback.

### Screenshots

_No response_

### NuGet package version

None

### Windows version

_No response_

### Additional context

_No response_

Contributor guide

Open the contributing guide

Research direction

Start with the ScrollView entry point and reproduce each listed mouse, scrollbar, touch, and Ctrl+mouse-wheel interaction. Trace whether ScrollAnimationStarting, ScrollCompleted, ZoomAnimationStarting, and ZoomCompleted are raised; done means all four callbacks trigger for the corresponding operations.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.