Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

If the first line in the Vlist starts with a comment, all elements are not renders in Vue. #410

Open
leejaeho1809 opened this issue Mar 14, 2024 · 0 comments
Labels
good first issue Good for newcomers

Comments

@leejaeho1809
Copy link

Describe the bug
If the first line in the Vlist starts with a comment, all elements are not renders in Vue.

To Reproduce
Here's the sample code

<VList v-slot="item" :data="someData">
    <!-- start with comment -->
    <some-component
    :key="item.Id"
    />
</VList>

As in the code above, if the start in the Vlist is a comment, it does not render even if it is not a component.

Expected behavior
Regardless of whether it started with a comment or not, it was expected that elements would be renders.

Platform:

  • OS: MacOS, Android, iOS
  • Browser: Chrome, Safari
  • Version of this package: 0.28.0
  • Version of framework: vue 3.2.41
@inokawa inokawa added the good first issue Good for newcomers label Mar 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants