bartgryszko / bartgryszko/react-native-circular-progress

No Pause/Resume functionality for AnimatedCircularProgress

Open
#334 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2.2k
Forks
420
PR merge metrics
No merged PRs in 30d

Description

### 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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.