Replies: 2 comments 1 reply
-
If you could provide a stackblitz link to this I'd be more than happy to take a look! |
Beta Was this translation helpful? Give feedback.
1 reply
-
I added the m-click and m-keydown events to <AlertDialogPrimitive.Action> in alert-dialog-action.svelte and could then use those to repsond to the user action. Not sure if this is the way it's intended to be used. I was kind of expecting on:click to work 🤷♂️ <AlertDialogPrimitive.Action |
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
-
I really like this components, but for the general components like buttons this works. With something like Alert, I don't have access to any events or the ability to close it.
I have this code
I've been trying to get if the user actually pressed yes with no luck. The current way is it just closes the dialog without firing any events.
So I had to use a custom button to get
on:click
to work but I have this bug where I can't seem to close theAlertDialog
.Beta Was this translation helpful? Give feedback.
All reactions