primevue icon indicating copy to clipboard operation
primevue copied to clipboard

TreeTable: Slot rowtoggleicon

Open Elgorm opened this issue 6 months ago • 1 comments

Describe the bug

Good day! When using the rowtoggleicon slot in TreeTable, the old icon does not disappear but appears next to it.

Reproducer

https://stackblitz.com/edit/kgbykx?file=src%2FApp.vue

PrimeVue version

4.0.4

Vue version

3.x

Language

TypeScript

Build / Runtime

Vue CLI App

Browser(s)

Chrome 127.0.6533.101

Steps to reproduce the behavior

<Column field="name" header="Name" expander style="width: 34%">
   <template #rowtoggleicon="{ expanded }"> > </template>
</Column>

Expected behavior

The icon indicated in the slot should remain.

Elgorm avatar Aug 15 '24 11:08 Elgorm