Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When using Regions: when event "region-out" is triggered, and I move the player to the next region, events "region-in" and "region-out" alternatingly keep triggering #3658

Open
pmcp opened this issue Apr 15, 2024 · 1 comment
Labels

Comments

@pmcp
Copy link

pmcp commented Apr 15, 2024

I'm trying to create a setup where only regions are played. After one region is played, wavesurfer jumps to the next region.

Bug description

When using Regions: when event "region-out" is triggered, and I move the player to the next region, events "region-in" and "region-out" alternatingly keep triggering

Environment

  • Browser: Firefox
  • Macos

Minimal code snippet

https://codepen.io/pmcp/pen/eYojavM

Expected result

I expect the the player to start playing the next region when it exists the previous one.

Obtained result

It keeps firing "region-out", which creates an infinite loop

@pmcp pmcp added the bug label Apr 15, 2024
@katspaugh
Copy link
Owner

Could be related to #3631.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants