Skip to content

AudioPlayer: Seek action lag and no optimistic UI causing bad UX #1856

@durgeshbg

Description

@durgeshbg

Description
Currently the AudioPlayer component has two noticeable bugs causing bad user experience.

  1. Audio seeking functionality lag, when seeking in any direction the UI doesn't update. The bug happens in two states of the player.
    1. Play State: The UI takes some time to update which causes confusion for user about what is happening.
    2. Pause Sate: The issue remains same but the update happens after the player is switched to pause state.
  2. The initial state when the media is still loading the slider width is 0 and all the interactions as accessible to user causing a confusion weather the media is loading/broken.

Steps to reproduce
Both the issues can be reproduced as shown in the above clips in the main page.

Insert an image/gif

  1. Issue 1.1:
Screen.Recording.2026-02-01.at.7.08.47.PM.mov
  1. Issue 1.2:
Screen.Recording.2026-02-01.at.7.01.02.PM.mov
  1. Issue 2.0: Loading state
Screen.Recording.2026-02-01.at.6.29.27.PM.mov

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions