Closed
Description
Describe the bug
When working with children snippets and event bubbling an error should be thrown if event isn't defined.
Since I was passing onfocus to the children snippet, the snippet needed to be defined explicitly so that onfocus is defined:
<TogglePopover>
+ {#snippet children(onfocus)}
<input type="text" placeholder="Select Search" {onfocus} />
+ {/snippet}
</TogglePopover>
Reproduction
Logs
No response
System Info
N/A
Severity
annoyance