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
Describe the bug
When adding a component with a style attached, it's properly appended to the head, but there's also an extra sibling element that's garbage.
BTW this issue happens to any component that has a template, no matter how it's been added, unlike the bug in #30 (which only happens when called with createChild()).
Describe the bug
When adding a component with a style attached, it's properly appended to the head, but there's also an extra sibling element that's garbage.
Bug is likely located in the Component.createNodes() section. If I had to guess, the function might be running multiple times and not grabbing the correct existing element.
https://github.com/CassandraSpruit/Vivi/blob/20dd2ace8115d6bedc2995463601f02967c19e2c/src/models/component.js#L85
The text was updated successfully, but these errors were encountered: