No Pause/Resume functionality for AnimatedCircularProgress

Abierto
#334 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
35/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
javascript, react-native
Área
mobile

Línea de trabajo

Comienza localizando el componente AnimatedCircularProgress y su implementación de animación. Define cómo deben comportarse pause() y resume() en un punto arbitrario y, a continuación, verifica que pausar conserve el progreso actual y que reanudar continúe desde ese punto utilizando el entorno React Native 0.76.1.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Feature Request: Add Pause and Resume functionality to AnimatedCircularProgress
Use Case:

I am working on a project where I need to control the circular progress animation. It would be very useful if the AnimatedCircularProgress component had built-in pause() and resume() methods, allowing the animation to be paused at any time and resumed from the current state.

Expected Behavior:
  • Add a method like pause() to stop the animation without resetting it.
  • Add a method like resume() to continue the animation from where it was paused.
Current Limitation:

At the moment, I am unable to pause the animation mid-way and resume it later without starting from the beginning again. This feature would be especially useful for scenarios like:

  • User interactions (e.g., a button press to pause and resume the animation).
  • Background tasks or interruptions that require pausing the animation.

Implementing this feature would make the component more versatile and allow for better control over the animation flow in various use cases, such as timers, progress indicators, and interactive UIs.

Thank you for considering this feature request!

Environment:
  • React Native version: 0.76.1
  • react-native-circular-progress version: 1.4.1
Lenguaje dominante
JavaScript
Estrellas
2.2k
Forks
418
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de bartgryszko/react-native-circular-progress

Todos los issues de bartgryszko/react-native-circular-progress

Issues similares

Más issues de JavaScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.