element-web/src/utils
Matthew Hodgson 7696f704b2 Fix two big DOM leaks which were locking Chrome solid.
pillifyLinks leaked Pill components, which if they contained a BaseAvatar
would leak a whole DOM tree retained by the BaseAvatar's onClientSync
event listener.  This tracks the Pill containers so they can be unmounted
via unmountPills.

BasicMessageComposer set an event listener on selectionchange in onFocus
which leaked if onBlur wasn't called.  This removes it in unmount.

We've also seen Velociraptor retaining full DOM trees from RRs, which
this doesn't address as the leak is probably within Velocity, and the plan
is to replace it with CSS animations.

Should fix https://github.com/vector-im/riot-web/issues/12417
2020-02-22 23:51:30 +00:00
..
permalinks Convert imports to ES6 from CommonJS 2019-12-22 21:16:06 -07:00
Accessibility.js appease the js-doc linter 2019-05-21 09:33:52 -06:00
AutoDiscoveryUtils.js Relax identity server discovery error handling 2019-11-01 12:27:56 +00:00
colour.js Fix /rainbowme and /rainbow breaking apart utf-16 emoji 2019-07-25 19:25:28 +01:00
createMatrixClient.js Convert imports to ES6 from CommonJS 2019-12-22 21:16:06 -07:00
DecryptFile.js Remove unused fetch polyfills, querystring, require-json. Move glob to dev-dep 2020-01-18 02:01:45 +00:00
DirectoryUtils.js move room directory logic over from riot-web 2018-04-11 23:58:46 +01:00
DMRoomMap.js Merge branch 'develop' into travis/ftue/user-lists/5.3-go-button 2020-01-16 13:36:59 -07:00
EditorStateTransfer.js fix grammar fail 2019-06-13 13:28:21 +02:00
ErrorUtils.js Internationalise M_TOO_LARGE error from Synapse 2019-12-19 13:25:43 +00:00
EventUtils.js Fix MatrixClientPeg imports 2019-12-22 21:15:54 -07:00
FontManager.js lint 2019-06-02 04:47:23 +01:00
FormattingUtils.js FormattingUtils: Add a formatCountLong method. 2020-01-24 16:13:55 +01:00
HostingLink.js Fix MatrixClientPeg imports 2019-12-22 21:15:54 -07:00
humanize.js Humanize the recent DM rooms ourselves for translations 2020-01-13 21:20:01 -07:00
IdentityServerUtils.js Fix MatrixClientPeg imports 2019-12-22 21:15:54 -07:00
KeyVerificationStateObserver.js dont assume the room exist ... not sure why though 2020-01-24 14:20:48 +01:00
MatrixGlob.js Appease the linter 2019-10-31 16:27:45 -06:00
MegolmExportEncryption.js Down to 7 test failures 2019-12-17 11:24:37 +00:00
MessageDiffUtils.js Don't assume that diffs will have an appropriate child node 2019-11-27 12:26:43 -07:00
MultiInviter.js Fix MatrixClientPeg imports 2019-12-22 21:15:54 -07:00
pages.js Remove the white screen of welcome 2019-02-14 12:35:09 +00:00
PasswordScorer.js Fix MatrixClientPeg imports 2019-12-22 21:15:54 -07:00
pillify.js Fix two big DOM leaks which were locking Chrome solid. 2020-02-22 23:51:30 +00:00
PinningUtils.js Show an indicator when there are any pins in the room 2017-11-03 20:00:48 -06:00
promise.js Rip out the remainder of Bluebird 2019-11-18 10:03:05 +00:00
Receipt.js Run eslint --fix 2017-10-11 17:56:17 +01:00
replaceableComponent.ts Switch back to legacy decorators 2020-01-28 16:44:30 +00:00
ResizeNotifier.js fix lint 2019-03-28 18:29:48 +01:00
StorageManager.js Use Persistent Storage where possible 2020-02-20 00:38:08 +00:00
Timer.js Fix remaining warnings for enabled files 2019-01-23 18:38:49 -06:00
TypeUtils.js Update ServerTypeSelector for registration to use a server config 2019-05-03 11:32:59 -06:00
UrlUtils.js Move URL abbreviation to its own util file 2019-08-21 08:46:10 -06:00
WidgetUtils.js Fix MatrixClientPeg imports 2019-12-22 21:15:54 -07:00