Enable ScrollViewer Chaining in the Sample App?

未关闭
#95 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
25/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
停滞
技术栈
csharp
领域
desktop

调研方向

从 Sample App 开始,使用鼠标滚轮复现嵌套 ScrollViewer 的行为。阅读链接的 scroll-chaining 指南以及相关 issue #108、#7902 和 #74,以确定 OS 是否支持所请求的行为,或者 helper 是否可行;完成标准应是形成有文档记录的解决方案或达成一致的实现路径。

由索引模型根据 Issue 内容生成。

描述

bug :bug: help wanted sample app 🖼 ux :paintbrush:
Describe the bug

See guidance on scroll chaining here

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
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.

主要语言
C#
星标
57
派生
20
PR 合并指标
30 天内没有已合并 PR

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

CommunityToolkit/Tooling-Windows-Submodule 的其他 Issue

查看 CommunityToolkit/Tooling-Windows-Submodule 的全部 Issue

相似的 Issue

更多 C# Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。