StepperTrigger: use onMousedown instead of onClick? #1330
joris-gallot
started this conversation in
General
Replies: 1 comment
-
Is it to use |
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
-
Hello!
For what reason does
StepperTrigger
useonMousedown
instead ofonClick
? It causes unexpected behavior if the content of the stepper changes size. For example, in a modal, clicking on a step can reduce the size of the modal, and the click triggers the modal to closehttps://github.com/radix-vue/radix-vue/blob/18e5468a74ea0f7f33dfae6783c77f572365378d/packages/radix-vue/src/Stepper/StepperTrigger.vue#L91
Beta Was this translation helpful? Give feedback.
All reactions