flutter / flutter/devtools

Option to disable animations (or respect prefers-reduced-motion)

未关闭
#4,402 0 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
a11y fix it friday P3 proposal
主要语言
Dart
星标
1.7k
派生
404
平均合并
6 天 17 小时
30 天内合并 PR
18

描述

Hi!

Is there an option to turn off animations (like the scrolling motion when changing tabs)? It is pretty slow, and also makes me dizzy on the big screen.

It could be a switch in Settings, or this flag could be used to detect this preference automatically:

> The [prefers-reduced-motion](https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-reduced-motion) CSS media feature is used to detect if the user has requested that the system minimize the amount of non-essential motion it uses.

贡献指南

打开贡献指南

调研方向

Start by tracing the tab-change scrolling animation and the existing Settings or preferences entry point; the issue names no files. Check how DevTools can detect prefers-reduced-motion, then verify that non-essential animations are disabled or an explicit setting works without changing tab behavior.

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

评估

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

把新 issue 发到你的邮箱

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