mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-28 19:38:48 +08: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 |