angular / angular/components

Virtual Scroll Scroll Snap

未关闭
#16,741 2 条评论 15 个 reaction 已指派 0 人 在 GitHub 查看
area: cdk/scrolling feature P4
主要语言
TypeScript
星标
25k
派生
6.8k
平均合并
1 天 8 小时
30 天内合并 PR
91

描述

#### Feature Description

I would like to use scroll snapping in a horzintal virtual scrolled list. Therefore I would like to use the platforms CSS attribute: `scroll-snap-type`

#### Use Case

Imagine a horizontal list of cards. While scrolling the User is interested in only one Item. For aesthetics he wants this item to be in the middle of his screen. Thats where Scroll snapping would be really handy.

贡献指南

打开贡献指南

调研方向

首先定位 Angular virtual-scroll 组件及其水平滚动行为,然后检查是否已有涵盖滚动的组件测试。确定 CSS scroll-snap-type 应如何应用于水平虚拟滚动列表,并将完成标准定义为:可靠地吸附滚动位置,使活动卡片保持居中,同时不破坏虚拟化。

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

评估

技术栈
angular, css, typescript
领域
frontend
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

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