mirror of https://github.com/vector-im/riot-web
![]() 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`]( |
||
---|---|---|
.. | ||
@types | ||
accessibility | ||
actions | ||
async-components/views/dialogs | ||
audio | ||
autocomplete | ||
components | ||
contexts | ||
customisations | ||
dispatcher | ||
editor | ||
effects | ||
emojipicker | ||
hooks | ||
i18n/strings | ||
indexing | ||
integrations | ||
mjolnir | ||
models | ||
notifications | ||
performance | ||
rageshake | ||
resizer | ||
settings | ||
stores | ||
toasts | ||
usercontent | ||
utils | ||
widgets | ||
workers | ||
ActiveRoomObserver.ts | ||
AddThreepid.ts | ||
Analytics.tsx | ||
AsyncWrapper.tsx | ||
Avatar.ts | ||
BasePlatform.ts | ||
BlurhashEncoder.ts | ||
CallHandler.tsx | ||
ContentMessages.tsx | ||
DateUtils.ts | ||
DecryptionFailureTracker.ts | ||
DeviceListener.ts | ||
GroupAddressPicker.js | ||
HtmlUtils.tsx | ||
IdentityAuthClient.tsx | ||
ImageUtils.ts | ||
KeyBindingsDefaults.ts | ||
KeyBindingsManager.ts | ||
Keyboard.ts | ||
Lifecycle.ts | ||
Livestream.ts | ||
Login.ts | ||
Markdown.ts | ||
MatrixClientPeg.ts | ||
MediaDeviceHandler.ts | ||
Modal.tsx | ||
NodeAnimator.tsx | ||
Notifier.ts | ||
PageTypes.ts | ||
PasswordReset.ts | ||
PlatformPeg.ts | ||
PosthogAnalytics.ts | ||
PosthogTrackers.ts | ||
Presence.ts | ||
Registration.tsx | ||
Resend.ts | ||
Roles.ts | ||
RoomAliasCache.ts | ||
RoomInvite.tsx | ||
RoomNotifs.ts | ||
Rooms.ts | ||
ScalarAuthClient.ts | ||
ScalarMessaging.ts | ||
SdkConfig.ts | ||
Searching.ts | ||
SecurityManager.ts | ||
SendHistoryManager.ts | ||
Skinner.ts | ||
SlashCommands.tsx | ||
Terms.ts | ||
TextForEvent.tsx | ||
Unread.ts | ||
UserActivity.ts | ||
UserAddress.ts | ||
Views.ts | ||
VoipUserMapper.ts | ||
WhoIsTyping.ts | ||
boundThreepids.ts | ||
createRoom.ts | ||
email.ts | ||
emoji.ts | ||
groups.js | ||
identifiers.ts | ||
index.ts | ||
languageHandler.tsx | ||
linkify-matrix.ts | ||
phonenumber.ts | ||
sendTimePerformanceMetrics.ts | ||
sentry.ts | ||
shouldHideEvent.ts | ||
theme.ts | ||
verification.ts |