CommunityToolkit / CommunityToolkit/Tooling-Windows-Submodule

Enable ScrollViewer Chaining in the Sample App?

Ouverte
#95 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
bug :bug: help wanted sample app 🖼 ux :paintbrush:
Langage dominant
C#
Étoiles
55
Forks
19
Merge moyen
40 min
PR mergées (30 j)
1

Description

### Describe the bug

See guidance on [scroll chaining here](https://learn.microsoft.com/en-us/windows/apps/design/input/guidelines-for-panning#:~:text=concept%20of%20rails.-,chaining%20embedded%20or%20nested%20content,-After%20a%20user)

Basically, we want to be able to continue to scroll down a page, and if a sample is using a scroll viewer to continue past that sample once it's finished scrolling as well.

Problem is this is probably not supported by the OS? 😟 See:

> Because mouse wheel rotations are handled as inertial manipulations, chaining does not work.

From: https://learn.microsoft.com/en-us/uwp/api/windows.ui.xaml.controls.scrollviewer.isverticalscrollchainingenabled

Not clear if it'd be resolved by https://github.com/microsoft/microsoft-ui-xaml/issues/108

Also see https://github.com/microsoft/microsoft-ui-xaml/issues/7902

### Steps to reproduce

```text
1. Open Sample App
2. Look at a sample that involves scrolling (like the Header Behaviors from https://github.com/CommunityToolkit/Windows/pull/136)
3. Try scrolling down the page (i.e. with a mouse wheel)
4. You get halted at the bottom of any of the lists from scrolling.
```

### Expected behavior

Can continue to scroll.

### Screenshots

_No response_

### Code Platform

- [ ] UWP
- [ ] WinAppSDK / WinUI 3
- [ ] Web Assembly (WASM)
- [ ] Android
- [ ] iOS
- [ ] MacOS
- [ ] Linux / GTK

### Windows Build Number

- [ ] Windows 10 1809 (Build 17763)
- [ ] Windows 10 1903 (Build 18362)
- [ ] Windows 10 1909 (Build 18363)
- [ ] Windows 10 2004 (Build 19041)
- [ ] Windows 10 20H2 (Build 19042)
- [ ] Windows 10 21H1 (Build 19043)
- [ ] Windows 11 21H2 (Build 22000)
- [ ] Other (specify)

### Other Windows Build number

_No response_

### App minimum and target SDK version

- [ ] Windows 10, version 1809 (Build 17763)
- [ ] Windows 10, version 1903 (Build 18362)
- [ ] Windows 10, version 1909 (Build 18363)
- [ ] Windows 10, version 2004 (Build 19041)
- [ ] Other (specify)

### Other SDK version

_No response_

### Visual Studio Version

_No response_

### Visual Studio Build Number

_No response_

### Device form factor

_No response_

### Additional context

Maybe this is something we need to investigate a helper for for now?

Related to #74

### Help us help you

Yes, but only if others can assist.

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

Commencez par la Sample App et reproduisez le comportement de ScrollViewer imbriqués à l’aide de la molette de la souris. Consultez les indications liées sur le scroll-chaining ainsi que les issues associées #108, #7902 et #74 afin de déterminer si le système d’exploitation prend en charge le comportement demandé ou si un helper est envisageable ; la tâche doit être considérée comme terminée avec une résolution documentée ou une voie d’implémentation convenue.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
csharp
Domaine
desktop
Type d'issue
Bug
Difficulté
5/5
Temps estimé
Plus d'une semaine
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
25/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.