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
I am using {...$$props} to unpack all the props applied to a <Link> component (to make it easier to apply other attributes, such as class names, styles, etc), and this is causing an odd bug.
When used in conjunction with a <Layout> component that has a slot, and a form input, when you change the form input value, it throw this error:
VM34:100 Uncaught (in promise) DOMException: Failed to execute 'setAttribute' on 'Element': '$$scope' is not a valid attribute name.
at attr (eval at handle_message (about:srcdoc:68:8), <anonymous>:100:13)
at set_attributes (eval at handle_message (about:srcdoc:68:8), <anonymous>:110:5)
at Object.update [as p] (eval at handle_message (about:srcdoc:68:8), <anonymous>:418:5)
at update (eval at handle_message (about:srcdoc:68:8), <anonymous>:182:16)
at flush (eval at handle_message (about:srcdoc:68:8), <anonymous>:152:5)
It's odd, since the form input obviously has no connection to the <Link> components.
You can find a REPL of this issue here. Simply open up devtools, type something into the input, and you'll see the error.
I am using
{...$$props}
to unpack all the props applied to a<Link>
component (to make it easier to apply other attributes, such as class names, styles, etc), and this is causing an odd bug.When used in conjunction with a
<Layout>
component that has a slot, and a form input, when you change the form input value, it throw this error:It's odd, since the form input obviously has no connection to the
<Link>
components.You can find a REPL of this issue here. Simply open up devtools, type something into the input, and you'll see the error.
Version: Svelte 3.0.0
Browser: Chrome 73.0.3683.103 (Official Build) (64-bit)
The text was updated successfully, but these errors were encountered: