primefaces / primevue-nuxt-module

MIT License
70 stars 11 forks source link

Accordion: list inside accordion causes content to be duplicated (only in primevue-nuxt) #57

Closed luizzappa closed 1 month ago

luizzappa commented 5 months ago

If you include a list within an Accordion, its contents are duplicated.

This error only happens with primevue-nuxt, I was unable to reproduce the same problem with primevue only.

Reproducer: https://stackblitz.com/edit/primevue-nuxt-issue-template-7scwyq?file=app.vue

    <Accordion>
      <AccordionTab>
        <template #header>
          <span class="font-semibold lg:font-bold text-base lg:text-lg">1. Introduction</span>
        </template>
        <p class="m-0 text-base lg:text-lg font-extralight">
            MY LIST
            <ul>
              <li>Item 1</li>
              <li>Item 2</li>
              <li>Item 3</li>
           </ul>
           Lalalla
        </p>
      </AccordionTab>
    </Accordion>

image

mertsincan commented 2 months ago

Interesting! I'll check it and get back to you.

mertsincan commented 1 month ago

Unfortunately, I couldn't replicate it. Could you please try the new @primevue/nuxt-module package?