-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Labels
Description
Describe the bug
Using v-click in the component LightOrDark
does not work as intended
Minimal reproduction
Steps to reproduce the behavior:
- Use
LightOrDark
component in a slide - Add
v-click
to it - Go to corresponding slide in presentation, you will notice the corresponding element is rendered, but it behaves as an element without
v-click
Example:
<LightOrDark v-click>
<template #dark="props">
Dark mode
</template>
<template #light="props">
Light mode
</template>
</LightOrDark>
Environment
- Slidev version: 52.1.0
- Browser: Google Chrome
- OS: Mac OS