Replies: 1 comment
-
|
Hard to tell without a reproduction. |
Beta Was this translation helpful? Give feedback.
0 replies
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 👋😊
ark/packages/svelte/src/lib/components/dialog/dialog-content.svelte
Line 16 in fd6d299
Is there a solution for this?
I know that there was a time that I myself needed to add a default value to a
$bindable()because I was getting an error and because of stupid reasons and stupid ways that Svelte 5 works. So, I don't really know if the issue is from my side or Ark side, and that if Ark deletes the default value there isn't going to be another issue!What I'm doing in my code is, I use both https://ark-ui.com/docs/components/dialog and https://www.bits-ui.com/docs/components/context-menu. I have built a drawer with the dialog component and inside it I'm using a context-menu. I want to portal the context-menu content inside the dialog. So, on context-menu I use the
toprop<ContextMenu.Portal {to}>and I bind thebind:refofDialog.Contentto a prop then it gets passed to thetoprop...Beta Was this translation helpful? Give feedback.
All reactions