Skip to content

Conversation

@bhuvan-codes
Copy link

Summary

Fixes an issue in AudioPlayer where audio playback would pause, delay, or behave inconsistently after interacting with the progress slider.

Problem

  • Dragging the slider caused playback to stop unexpectedly
  • Resuming playback after slider interaction introduced noticeable delays
  • Issue only occurred after slider interaction

Solution

  • Ensured slider updates do not interfere with audio playback state
  • Synced slider position strictly with audio.currentTime
  • Prevented unnecessary state conflicts between slider interaction and playback

How to test

  1. Open Storybook
  2. Navigate to AudioPlayer
  3. Play the audio
  4. Seek using the slider while audio is playing
  5. Audio should continue smoothly without delay or pause

Evidence

Screen recording attached showing the issue before and after the fix.

Before.Fix.mp4

Screen Recording below showing after fix

After.Fix.mp4

@changeset-bot
Copy link

changeset-bot bot commented Dec 17, 2025

⚠️ No Changeset found

Latest commit: 6caf2c7

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

1 similar comment
@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

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

Successfully merging this pull request may close these issues.

2 participants