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
{{ message }}
This repository has been archived by the owner on Aug 7, 2018. It is now read-only.
I understand that adding another dependency to the package might not be a popular move. Still I wanted to post a link to a branch that I'm using which replaces a bunch of code in this project with a rather straightforward usage of react-measure.
Since react-measure relies on resize and mutation observers, responsive resizing also works if one of the parent elements changes its size while window remains unchanged. This was a requirement in my case.
The branch is an extension of the changes proposed in #48.
The text was updated successfully, but these errors were encountered:
Actually I have been working on wavesurfer.js version 2 which supports resizing (if the waveform is setup to be the width of the container – e.g. there is no scrollbar (See https://github.com/katspaugh/wavesurfer.js/blob/master/src/wavesurfer.js#L340)) – Unfortunately I don't have any free time to push that project forward. Ideally v2 (which also includes lots of other features) should be finalised (although it is already pretty bug free as far as I know.) – See status of that here: katspaugh/wavesurfer.js#1092 – Ideally react-wavesurfer should be updated to include support for wavesurfer 2 (The refactor of wavesurfer was mainly motivated by the requirements of react-wavesurfer: the new version is architected to work better with module bundlers, this will allow this lib to be "batteries included" – so no dependencies to wavesurfer) – So if you or anyone sees fit to work on this I would extremely happy to coordinate and/or make them maintainer of this repo.
I understand that adding another dependency to the package might not be a popular move. Still I wanted to post a link to a branch that I'm using which replaces a bunch of code in this project with a rather straightforward usage of
react-measure
.Since
react-measure
relies on resize and mutation observers, responsive resizing also works if one of the parent elements changes its size while window remains unchanged. This was a requirement in my case.The branch is an extension of the changes proposed in #48.
The text was updated successfully, but these errors were encountered: