Replies: 11 comments
-
I also have a performance problem when tooltips are added to list items iterated with @MrHerickS is this the same situation for you? |
Beta Was this translation helpful? Give feedback.
-
Yeah it's happening only in chrome for me, but I managed to temporarily fix it by creating a new component (fork from Popover.vue) and removing the ResizeObserver from it. |
Beta Was this translation helpful? Give feedback.
-
For that isn't it enough to pass the |
Beta Was this translation helpful? Give feedback.
-
I have not tried it, but it might work as well. Thanks for the complementation. |
Beta Was this translation helpful? Give feedback.
-
I have a page with a 893 popovers. There is a render time in chromium: Rendering with |
Beta Was this translation helpful? Give feedback.
-
@agazso @MrHerickS thx a lot, i have custom virtual-scroll component and tooltip in every table row. My case was not about performance at all, but broken listener firing on scroll event. Thanks again! |
Beta Was this translation helpful? Give feedback.
-
@voskresla which component do you use for virtual scroll in table form? |
Beta Was this translation helpful? Give feedback.
-
@sagarrabadiya my own custom component. |
Beta Was this translation helpful? Give feedback.
-
@voskresla would you please share it for reference like codesandbox or something? |
Beta Was this translation helpful? Give feedback.
-
I'm also having some performance issue. I'm thinking the culprit might be events emitted on mounted: |
Beta Was this translation helpful? Give feedback.
-
I think this discussion is an issue. For the reasons I and others stated above. |
Beta Was this translation helpful? Give feedback.
-
I'm using v-tooltip@2.0.3 in an application and I was wondering why the performance was getting bad, after some time of investigation I've discovered that v-popover was causing UI to freeze when mounting.
In the app we have a list of messages and each message has a popover.
For this test I have removed all the other components and we let only the popover there for each message (look at the cpu usage and general slowness):
With v-popover: https://gyazo.com/8fd88d0c00502ce2502933459476fde8
Without v-popover: https://gyazo.com/551289b183ce594d7db3e997b2e7ff1a
I have already tried to add a v-if for the popover's content but no luck.
Is there something we can do for fixing it's performance?
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions