Dialog not passing down props #1207
Unanswered
ispyinternet
asked this question in
Q&A
Replies: 1 comment 1 reply
-
I've narrowed down the issue. Inside my bits dialog, I have a ScrollArea, so this works...
But this doesn't:
So it seems the ScrollArea is interferring some how. Any workarounds? |
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.
-
Describe the bug
I'm trying to use a Dialog in a layout file where the Dialog content is being driven through the routing, so far so good, except I can't pass props down to a child component that is slotted into the Dialog content.
For example:
---- +layout.svelte ------
---- MyRouteDriveDialogComponent.svelte ----
---- Dialog.svelte ------
--- Wrapper.svelte -----
The PROPS-{active}-{disabled}-{title} is showing the reactive values, but I can't get those reactive values as props into the Wrapper component, I think Dialog might be getting in the way, but I don't understand enough to reason why.
Sorry, I haven't got a reproduction, I can't get stackblitz to work.
Can anyone advise?
Reproduction
https://stackblitz.com/edit/github-vnzavvmr
Logs
System Info
Severity
annoyance
Beta Was this translation helpful? Give feedback.
All reactions