Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No Pause/Resume functionality for AnimatedCircularProgress #334

Open
Abdullo-0901 opened this issue Dec 11, 2024 · 0 comments
Open

No Pause/Resume functionality for AnimatedCircularProgress #334

Abdullo-0901 opened this issue Dec 11, 2024 · 0 comments

Comments

@Abdullo-0901
Copy link

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant