-
-
Notifications
You must be signed in to change notification settings - Fork 9k
Closed
Labels
🔨 p3-minor-bugPriority 3: this fixes a bug, but is an edge case that only affects very specific usage.Priority 3: this fixes a bug, but is an edge case that only affects very specific usage.scope: vaporrelated to vapor moderelated to vapor mode
Description
Vue version
3.6.0-alpha.6
Link to minimal reproduction
Steps to reproduce
The reproduction link is the example from https://vuejs.org/examples/#modal but with <template vapor> on Modal.vue
- Open the dialog, and 'Custom header' is not rendered
- Change the body slot to the default slot in Modal.vue:
--- <slot name="body">default body</slot>
+++ <slot>default body</slot>- Open the dialog, and 'Custom header' is rendered, but duplicate elements are rendered (modal-mask, modal-container, etc)
- Upon closing, an error "el.addEventListener is not a function" happens
What is expected?
The example would work the same as, or similar to, a non-vapor component.
What is actually happening?
Described in steps to reproduce.
System Info
Any additional comments?
No response
Metadata
Metadata
Assignees
Labels
🔨 p3-minor-bugPriority 3: this fixes a bug, but is an edge case that only affects very specific usage.Priority 3: this fixes a bug, but is an edge case that only affects very specific usage.scope: vaporrelated to vapor moderelated to vapor mode