[feat]: skipAnimation at the component level
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Stack tecnológico
- react, typescript
- Área
- frontend
Línea de trabajo
Comienza en el punto de entrada useSpring y sigue cómo se aplica la configuración global existente skipAnimation. Define cómo interactúa skipAnimation: false a nivel de componente con la configuración global y añade cobertura de pruebas que demuestre que los usuarios con movimiento reducido siguen omitiendo otras animaciones mientras se ejecuta esta animación del componente.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
A clear and concise description of what the feature is
skipAnimation currently exists at the Global level which is very useful when used with useReducedMotion to be a good a11y citizen. But what if there are animations we don't want skipped regardless of user preference? Currently we can only block all animations or allow all and selectively block a few. This feature would allow one to maintain skipping animations for folks with reduced motion turned on but allow you to selectively allow certain animations to proceed.
Why should this feature be included?
The alternative is to selectively block animations. In a large codebase where many animations can exist this is not only cumbersome but also exposes the developers to shipping a poor a11y experience by forgetting to check reduced motion setting for new animations added.
Please provide an example for how this would work
// when the property exists and it's set to false the animation will not be skipped regardless of the global setting.
useSpring({ skipAnimation: false });
- Lenguaje dominante
- TypeScript
- Estrellas
- 29.2k
- Forks
- 1.2k
- Merge medio
- 16 h 25 min
- PR fusionados (30 d)
- 48
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de pmndrs/react-spring
-
Physics-level spring couplingAbiertoarea: core kind: request
Dificultad 4/5 3-5 días Aptitud para principiantes 55/100
pmndrs/react-spring#2542 ·
Los mantenedores suelen responder en 1 día
-
Remove `any` from public typesAbiertoarea: typescript kind: request release: major
Dificultad 4/5 3-5 días Aptitud para principiantes 52/100
pmndrs/react-spring#2541 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
animated() throws 'cannot add a new property' on non-extensible React Native host components (Hermes)Posiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 68/100
pmndrs/react-spring#2533 ·
Los mantenedores suelen responder en 1 día
-
release: major type: RFC
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
pmndrs/react-spring#2522 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
[bug]: Tab crash with skipAnimation and loopQuizá libre de nuevo Un pull request para esta issue se cerró sin fusionarse. Abiertoarea: core kind: bug
Dificultad 3/5 1-2 días Aptitud para principiantes 52/100
pmndrs/react-spring#2409 ·
Los mantenedores suelen responder en 1 día
Todos los issues de pmndrs/react-spring
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
cockpit-project/cockpit-machines#2835 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
cloudflare/kumo#866 ·
Los mantenedores suelen responder en 1 día
-
area:connector bug
Dificultad 1/5 Menos de una hora Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
environment: OPENCODE_API_KEY is described as a Console service account key, but a Go subscription key worksPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
tester-army/e2e#1015 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Los mantenedores suelen responder en 1 día