floating-vue icon indicating copy to clipboard operation
floating-vue copied to clipboard

Performance issue on too many popovers ?

Open bloor opened this issue 1 year ago • 5 comments

Nuxt 3.5.1 "floating-vue": "^2.0.0-beta.24"

I have a table with 200+ rows.. each row has 10 popover-tooltip elements = 2000 tooltips (with dynamic content) Everything works smooth, until I leave route/page. It takes proportionally longer with number of rows in table (for 200 rows, 5seconds) If I remove the v-tooltip directives from those elements, the route leaves instantly (as it should) even for 1000 rows.

<div v-for="i in 5" :key="i" class="hero-icon c-pointer" :style="`background-image: url('/images/parser/icons/heroes/64/terrorblade.png`" v-tooltip="{ content: `<b>Terrorblade</b><br><span class='text-gold'>Played by Ruffalo</span>` }" />

I also tried with simple text

v-tooltip="`nnnnn`"

The issue remains. So it's something related to unmount , cleaning process.

bloor avatar Dec 24 '23 18:12 bloor

I have the same issue. Is there a workaround?

andreiculda avatar Jan 23 '24 09:01 andreiculda

Does it happen with the <Tooltip> component?

Akryum avatar Jan 29 '24 14:01 Akryum

Does it happen with the <Tooltip> component?

Yes exactly the same issue

chuchiperriman avatar Feb 19 '24 10:02 chuchiperriman

Any updates on this issue, im having the same issue with using async tooltips. It even crashes my browser when it loads to much.

nickvleeuwen avatar Apr 30 '24 10:04 nickvleeuwen

same here, did not found a solution yet. I have 2.000 rows, each one with 8 tooltips. Browser freezes and never comes back

fernandolangaro avatar Aug 03 '24 03:08 fernandolangaro