Last 12 weeks · 0 commits
5 of 6 standards met
Describe the bug Hello, When a element has a child with a , the lazy-show wrapper is discarded and only the inner directive's output is emitted. I forked the repo and added a test case. Template ` Current CSR output Current SSR output Reproduction https://github.com/clemvnt/v-lazy-show/tree/inner-v-if System Info Used Package Manager pnpm Validations [x] Follow our Code of Conduct [x] Read the Contributing Guide. [x] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate. [x] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead. [x] The provided reproduction is a minimal reproducible of the bug. Contributions [x] I am willing to submit a PR to fix this issue [x] I am willing to submit a PR with failing tests (actually just go ahead and do it, thanks!)
Describe the bug 期望: 在 能正常正常 实际结果: 在中等价于 Reproduction https://codesandbox.io/p/devbox/v-lazy-show-demo-zw6qxl?file=%2Fsrc%2FApp.vue%3A31%2C57 System Info Used Package Manager npm Validations [x] Follow our Code of Conduct [x] Read the Contributing Guide. [x] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate. [x] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead. [x] The provided reproduction is a minimal reproducible of the bug. Contributions [ ] I am willing to submit a PR to fix this issue [ ] I am willing to submit a PR with failing tests (actually just go ahead and do it, thanks!)
Describe the bug 期望: 在 能正常正常 实际结果: 在中等价于 Reproduction https://codesandbox.io/p/devbox/v-lazy-show-demo-zw6qxl?file=%2Fsrc%2FApp.vue%3A31%2C57 System Info Used Package Manager npm Validations [x] Follow our Code of Conduct [x] Read the Contributing Guide. [x] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate. [x] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead. [x] The provided reproduction is a minimal reproducible of the bug. Contributions [ ] I am willing to submit a PR to fix this issue [x] I am willing to submit a PR with failing tests (actually just go ahead and do it, thanks!)
Describe the bug Binding a custom event handler on the same component that has v-lazy-show for closing gives an error: Reproduction https://stackblitz.com/edit/vitejs-vite-3cpoq2?file=src%2FApp.vue,src%2FChild.vue System Info Used Package Manager npm Validations [X] Follow our Code of Conduct [X] Read the Contributing Guide. [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate. [X] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead. [X] The provided reproduction is a minimal reproducible of the bug.
Describe the bug Using click handler on the same element that has v-lazy-show gives an error: !image Reproduction https://stackblitz.com/edit/vitejs-vite-9s2mwn?file=src%2FApp.vue System Info Used Package Manager npm Validations [X] Follow our Code of Conduct [X] Read the Contributing Guide. [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate. [X] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead. [X] The provided reproduction is a minimal reproducible of the bug.
Repository: antfu/v-lazy-show. Description: Compile-time directive to lazy initialize v-show for Vue Stars: 500, Forks: 18. Primary language: TypeScript. Languages: TypeScript (43.4%), JavaScript (38.5%), Vue (13.9%), HTML (4.2%). License: MIT. Latest release: v0.2.4 (2y ago). Open PRs: 1, open issues: 3. Last activity: 1y ago. Community health: 85%. Top contributors: antfu, lezzhao, LwveMike, baozouai.