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

Performance issue on too many popovers ? #1005

Open
bloor opened this issue Dec 24, 2023 · 5 comments
Open

Performance issue on too many popovers ? #1005

bloor opened this issue Dec 24, 2023 · 5 comments

Comments

@bloor
Copy link

bloor commented Dec 24, 2023

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.

@andreiculda
Copy link

I have the same issue. Is there a workaround?

@Akryum
Copy link
Owner

Akryum commented Jan 29, 2024

Does it happen with the <Tooltip> component?

@chuchiperriman
Copy link

Does it happen with the <Tooltip> component?

Yes exactly the same issue

@nickvleeuwen
Copy link

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

@fernandolangaro
Copy link

fernandolangaro commented Aug 3, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants