Instead of attaching tooltips directly to
document.body, attach them to a predefined div in
Tooltips in our app were taking
>80ms. And during this time, the main thread was blocked, you couldn’t interact with anything.
Other components like modal, popover, dropdown had similar performance issues. In some cases, a modal took more than 1 second to appear while making the UI unresponsive.
Read on in the source link for details.