Open timbarclay opened 4 years ago
(Not the lib author)
That looks pretty sane, I'm effectively doing the same - should work. Could you provide a reproduction (codesandbox or comparable)?
As a side note, consider using vue's ref attribute to avoid having to find the piano-container
element in the DOM.
Hi, I'm probably doing something wrong, but I've tried to create a Vue component based on the set up instructions in the readme but it only renders a small part of the keyboard.
I read that it's supposed to fill its container but I've set the container element as width: 100% and it doesn't seem to make any difference.
Here's the code of the component: