flutter / flutter/devtools

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

Đang mở
#4,402 0 bình luận 1 reaction 0 người được giao Xem trên GitHub
a11y fix it friday P3 proposal
Ngôn ngữ chính
Dart
Star
1.7k
Fork
404
Merge trung bình
6 ngày 17 giờ
Pull request đã merge (30 ngày)
18

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
dart, flutter
Lĩnh vực
accessibility, frontend
Loại issue
Tính năng
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.