Skip to content

No Pause/Resume functionality for AnimatedCircularProgress #334

Open
@Abdullo-0901

Description

@Abdullo-0901

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions