Ngx-bootstrap: Tooltip - Performance

Created on 22 Jan 2017  路  12Comments  路  Source: valor-software/ngx-bootstrap

In my app I can often have over 1000 tooltips on my page,
And in the current state, it seems to get really laggy.

Perhaps have a Tooltip service that listens to mouse hover events and displays tooltips wherever you need to instead of creating more and more listeners?

comp(tooltip) medium (days) enhancement

Most helpful comment

based off llyaSurmay's mock up, i've constructed something close to what im seeing here.

the difference between when the table is using the tooltip vs a simple title is obvious. Please reopen

All 12 comments

Nice edge case, I will think how to overcome this

BTW I would love to look on this crazy page :D

any plan for this?

I will get here but not sure when

tried several options, with lazy injection and so on
no reasonable changes in performance

amount of listeners, can not be reduced Unfortunately (at least at the moment)

I hope thing gets fixed early. :(

performance will be one of the main prios for v2 of ngx-bs
we actually already did improvement to registering event handlers in v1.9.1
but some changes require breaking changes :(

its ok we have moved to another third party tooltip provider which works well !!

Is this still actual? Tested it here with 2000 tooltips, no lags. Closing it for now.

based off llyaSurmay's mock up, i've constructed something close to what im seeing here.

the difference between when the table is using the tooltip vs a simple title is obvious. Please reopen

In the newest version of ngx-bootstrap it LAGS as hell... PLEASE reopen

Just watched this - the answer is in the video https://youtu.be/Tlmx1PbP8Qw?t=761

Hope this helps

Was this page helpful?
0 / 5 - 0 ratings