slidev
slidev copied to clipboard
HTML comments in Layout code are breaking navigation
Describe the bug
HTML comments in the dynamic-image
of the light icons theme was causing that slide to remain visible even when navigating to the next slide.
To Reproduce Steps to reproduce the behavior:
- Use the
light-icons
theme - Create a slide with the
layout: dynamic-image
andleft: false
- Create another slide after the dynamic-image layout.
- You can't navigate to the second slide.
Workaround
- Copy the dynamic-image.vue into your local layouts folder.
- Remove the HTML comments on line 3 and line 42
- Now navigation works correctly!
Desktop (please complete the following information):
- OS: MacOS
- Browser: Chrome
- Slidev version: @slidev/cli: 0.22.7
Can you share a minimal reproduction? Thanks.
This seems more an issue related to the light-icons
theme
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.