Gauravdarkslayer / ngx-stories

An Angular component to render instagram like stories.
https://ngx-stories.vercel.app
MIT License
17 stars 13 forks source link

🐛 [BUG] - On click anywhere plays a paused story #19

Closed Gauravdarkslayer closed 1 month ago

Gauravdarkslayer commented 1 month ago

Description

When a user pauses a story, clicking anywhere on the screen unintentionally resumes the story playback. This issue causes an unwanted interaction, making it difficult for users to pause and resume stories at their convenience.

Expected Behavior: After pausing a story, the story should remain paused until the user explicitly interacts with the play button. Clicking elsewhere on the screen should not trigger story playback.

Actual Behavior: The story resumes playing upon any click interaction, regardless of the element clicked on, creating a disruptive user experience.

Reproduction URL

No response

Reproduction steps

1. Pause a ongoing story
2. Now click anywhere
3. You should see the story starts playing automatically, which should not be the case.
4. And even play button doesn't changed to pause button

Screenshots

No response

Logs

No response

Browsers

Chrome Desktop

OS

No response

github-actions[bot] commented 1 month ago

Hey @Gauravdarkslayer, Thanks for contributing and Congrats on opening Issue :tada:

We will try to review as soon as possible and a maintainer will get back to you soon!

Piyush-Goenka commented 1 month ago

Hey @Gauravdarkslayer I’d like to resolve the issue where clicking anywhere on the screen resumes a paused story. The expected behavior is for the story to remain paused until the user explicitly clicks the play button. I’ll work on ensuring that only the play button triggers playback, enhancing user control and experience. Please assign this issue to me.

meetbhalodi11 commented 1 month ago

@Gauravdarkslayer I can help here. maybe issue with global even listeners

Gauravdarkslayer commented 1 month ago

@meetbhalodi11 Yes may be! I've assigned this issue to you!

Gauravdarkslayer commented 1 month ago

@meetbhalodi11 , can we close this issue ? If it's sorted ?

meetbhalodi11 commented 1 month ago

Yes we can close this

github-actions[bot] commented 2 weeks ago

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

This action has been performed automatically by a bot.