-
-
Notifications
You must be signed in to change notification settings - Fork 425
Closed
Labels
Bug: Needs Confirmation 🧐Bugs that are reported, but needs to be confirmed and replicated.Bugs that are reported, but needs to be confirmed and replicated.
Description
Issue description
Clicking 'next song' button too rapidly causes JS error getFloat in bufferedProgressElements.js parseFloat call due to config.buffered being NaN.
Environment
Windows 10 home
- What's My Browser Support link: Firefox 75
- Amplitude.js Version: 5.0.3
Steps to reproduce the issue
- Click next song rapidly. Not reliably reproducible. Could be due to a large (90+) playlist, or using Amplitude.init callbacks; it only started showing up after those two additions to my JS code.
What is expected?
Link to where issue can be reproduced
Additional details / screenshots
Sample fix is in my fork. I tested config.buffered for NaN before running getFloat in 3 places.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Bug: Needs Confirmation 🧐Bugs that are reported, but needs to be confirmed and replicated.Bugs that are reported, but needs to be confirmed and replicated.