javascript - How can I avoid slow layout calculation on IE 11 when calling getBoundingClientRect()? -


i having listener displaying tooltips on hover calculates position of using jquery $.offset function.

on ie 11 getting horrible performance everytime listener triggered causing delay on showing tooltip or hover css class of element.

the part target elements embed on angular app, if load directly performance fine in other browsers , can see call getboundingclientrect takes small time if interact other views on angular before going 1 performance goes bad shown in screenshot.

(i know shouldn't use jquery inside angular pretty sure problem not because of since working first time load page , in other browsers too)

how avoid layout recalculation or how find out causing issue ?

enter image description here


Comments

Popular posts from this blog

php - Invalid Cofiguration - yii\base\InvalidConfigException - Yii2 -

How to show in django cms breadcrumbs full path? -

ruby on rails - npm error: tunneling socket could not be established, cause=connect ETIMEDOUT -