mirror of
https://github.com/element-hq/element-web
synced 2024-11-24 02:05:45 +03:00
3572b36648
Fix https://github.com/vector-im/element-web/issues/21262 Optimizations: 1. Don't update the `style` (positioning) of hidden tooltips 1. Don't add DOM elements to the page for hidden tooltips > ## Performance problems broken down > > > ### Hidden tooltips rendering on `scroll` > > You can see that the Tooltip render is attached to the `scroll` event at [`src/components/views/elements/Tooltip.tsx#L78-L81`]( |
||
---|---|---|
.. | ||
ExternalLink-test.tsx.snap | ||
PollCreateDialog-test.tsx.snap | ||
StyledRadioGroup-test.tsx.snap | ||
TooltipTarget-test.tsx.snap |