dataloop-ai / components

Dataloop's component library
Apache License 2.0
3 stars 15 forks source link

[BUG] in DlPopup, if you use <template #close-button> it only works the 1st time #973

Open makc-dataloop opened 1 month ago

makc-dataloop commented 1 month ago

code I tried:

<dl-popup
        title="Title"
        with-close-button
>
        <template #close-button>
                Text
        </template>
</dl-popup>

after you close the popup and open it again it shows X button instead of Text for me:

https://github.com/user-attachments/assets/3998aba7-4641-42c7-95cb-907b0d77f75d