Replies: 1 comment 1 reply
-
Hey, thank you for your question! 🙏 Can you attach a minimal reproduction repo that shows this issue, that will be easier to see what's going on exactly. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi! Awesome framework btw 🔥
So, I'm using
nuxt-headlessui
and I have abstracted the Dialog code (including the transition components) intoModal.vue
.I've setup two slots, one default and one for footer.
Now I have two
<Modal />
components in my header (for profile and authentication) and another in my gallery (for showing details).header dialog
gallery dialog
The problem now is that when I click any of the triggers to show my dialog, it only shows the latter (gallery) content!
I don't know what I'm doing wrong here... I've tried adding keys to differentiate the usages but no dice.
SOS. Thanks!
Edit: Thinking of a fix, I created two abstracted modals that would serve these two use cases. Weirdly enough it's still showing the same content. Sometimes the first, sometimes the second
Edit 2: I've pasted the Modal.vue code in directly into my header and it's still the same scenario! What's going ooooonnnn
Beta Was this translation helpful? Give feedback.
All reactions