prefers-reduced-motion props
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 35/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- react, typescript
- Ambito
- accessibility, frontend
Direzione di ricerca
Start by locating the useRive hook and reviewing how it currently controls animation playback. Clarify whether reduced-motion behavior should pause, select a frame, or use a fallback image, and determine the expected prop API and test coverage. Done means the chosen behavior is defined and verified when prefers-reduced-motion is true.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Currently, animations are played regardless of the prefers-reduced-motion preferences. This can be an issue when working on accessibility.
Having a prop on the useRive hook that would control how the animation behaves when prefers-reduced-motion is true would be great. Besides, it could be great to define a frame or a fallback image when prefers-reduced-motion is true. This way it would be possible to display the first or last image or have a fallback image instead.
- Lingua principale
- TypeScript
- Stelle
- 1.2k
- Fork
- 58
- Merge medio
- 3h 23m
- PR unite (30g)
- 6
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di rive-app/rive-react
-
Canvas memory leak in Safari Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 52/100
rive-app/rive-react#440 · 5 commenti · 4 reazioni ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 38/100
rive-app/rive-react#410 · 1 commento ·
-
enhancement
Difficoltà 4/5 3-5 giorni Idoneità per principianti 42/100
rive-app/rive-react#409 · 3 commenti ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 30/100
rive-app/rive-react#400 ·
-
triage
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
rive-app/rive-react#392 ·
Tutte le issue di rive-app/rive-react
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
copse-dev/agent-pane#2953 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
[Bug]: Matrix progress drafts fail with "Matrix runtime not initialized" during tool activity Apertabug clawsweeper:linked-pr-open clawsweeper:needs-live-repro clawsweeper:no-new-fix-pr impact:message-loss issue-rating: 🐚 platinum hermit P2 regression
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
calcite-components needs triage refactor
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
Esri/calcite-design-system#15203 ·