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
Using svelte's standard dispatch seems to wrap the detail field within another detail.
Inner.svelte:
import{createEventDispatcher}from'svelte'constdispatch=createEventDispatcher();// at some point, dispatch a custom eventdispatch('customEvent',{'foo': bar})
Using svelte's standard dispatch seems to wrap the
detail
field within anotherdetail
.Inner.svelte
:Outer.svelte
:Actual output
The event object,
e
, looks something like:So accessing the payload requires
e.detail.detail.foo
instead ofe.detail.foo
... note the recursivedetail
.Expected output
Would expect the event object,
e
, to look something like:The text was updated successfully, but these errors were encountered: