angular / angular/components

Choppy slide animation for mat-sidenav on mobile chrome

未关闭
#11,526 16 条评论 40 个 reaction 已指派 0 人 在 GitHub 查看
area: material/sidenav P3 perf
主要语言
TypeScript
星标
25k
派生
6.8k
平均合并
1 天 8 小时
30 天内合并 PR
91

描述

#### Bug, feature request, or proposal:
The animation for sliding in mat-sidenav (in `over` mode) on Chrome (latest) on older Android phones (reproducible on Xperia M5 E6633 with Android 6.0.0) is very choppy and slow

#### What is the expected behavior?
Animation should be smooth. Other sidenav libraries (at least those which use transform) are smooth.

#### What is the current behavior?
Choppy animation

#### What are the steps to reproduce?
A new project with Angular 6 and `ng add ... sidenav-stuff ...`

#### Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular, Material 6, TS 2.7.2, Chrome Android 66.0.3359.158

贡献指南

打开贡献指南

调研方向

在一个新的 Angular 6 项目中使用处于 over 模式的 mat-sidenav,在 Chrome for Android 上复现该问题,最好使用报告中的 Xperia M5 环境。首先检查 mat-sidenav 的动画路径,并将其行为与基于 transform 的实现进行比较。当 sidenav 动画在报告中的旧款 Android 设备上流畅运行,且其他模式没有回归时,即视为完成。

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

评估

技术栈
angular, typescript
领域
frontend, performance
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
30/100

把新 issue 发到你的邮箱

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