Cannot add region after remove (v7, vue 3): 'Uncaught TypeError: this.element is null' #3068
Answered
by
iskrebzowa-voc
iskrebzowa-voc
asked this question in
Q&A
-
Beta Was this translation helpful? Give feedback.
Answered by
iskrebzowa-voc
Aug 2, 2023
Replies: 1 comment 3 replies
-
I can't tell what is wrong in your code, it looks OK. However, here's a simplified example that works perfectly: https://wavesurfer-js.org/examples/#42e008b37cca15e0673917ae41f7599f |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@katspaugh Thanks for response.
The reason that we use plagin with vue. We added 'reactive' in index.js and it's working now.
Usually reactivity does not need to be added manually. It's would be great if the plagin was more Vue-friendly.
New 'index.js' file: