You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Same bug as mentionned in this issue : #3682
When the Wavesurfer container is given a too large width (ie: +80000), only one canvas is rendered with this width instead of multiple canvas of MAX_CANVAS_WIDTHpx, resulting in an error
This bug was fixed in 7.7.12 but seems to be present again in 7.8.2
Bug description
Same bug as mentionned in this issue :
#3682
When the Wavesurfer container is given a too large width (ie: +80000), only one canvas is rendered with this width instead of multiple canvas of
MAX_CANVAS_WIDTH
px, resulting in an errorThis bug was fixed in 7.7.12 but seems to be present again in 7.8.2
Environment
Minimal code snippet
Expected result
Multiple canvas of smaller width
![Capture d’écran 2024-08-09 à 16 36 22](https://private-user-images.githubusercontent.com/22477005/356649195-0735794a-ce08-4150-9cc3-41c4617763a6.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzMTQzMzQsIm5iZiI6MTczOTMxNDAzNCwicGF0aCI6Ii8yMjQ3NzAwNS8zNTY2NDkxOTUtMDczNTc5NGEtY2UwOC00MTUwLTljYzMtNDFjNDYxNzc2M2E2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjExVDIyNDcxNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTAxYmRlMThkZDQ1NzA0MjU3Mzg3MjA0YWU3ZjVmOGExOWM0NTAyZWQ2ZTFmOTU3NGRjYjVlODRiOWVkMzFjMzEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.dIxUhVX7YD-Ak0HDE42ESWgScI4kITLEQCiwMALrxd4)
Obtained result
Single canvas width huge width, resulting in display error
![Capture d’écran 2024-08-09 à 16 38 20](https://private-user-images.githubusercontent.com/22477005/356649762-cbc06deb-55d6-4a19-9b20-1e265b37ffa7.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzMTQzMzQsIm5iZiI6MTczOTMxNDAzNCwicGF0aCI6Ii8yMjQ3NzAwNS8zNTY2NDk3NjItY2JjMDZkZWItNTVkNi00YTE5LTliMjAtMWUyNjViMzdmZmE3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjExVDIyNDcxNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWM1OWY2MzcxOGQ4YTFjMjQ4ODc5ZmVmMWMxN2FlYjlhYzQ2MzJhZGJlODljNmJkOGM5Y2Q4YjQyNzQ4N2FiN2UmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.TWJCl8lwDd6d1tk6dNly-qK3xTciN6IH6GcHxUySFG0)
Screenshots
The text was updated successfully, but these errors were encountered: