nextcloud-server/core
Vincent Petry f2de58db8c
Work around snap.js state mess
Snap.js is not robust enough to prevent multiple calls to open() or
close(), so we added more checks to prevent these happening even when an
animation is in progress.

Because if we let this through, snap.js will not notice that the
animation is already done (or a duplicate animation was started),
so the "transitionend" event will not fire a second time.

During an animation, snap.js sets up a setInterval() that hogs the CPU
during the animation. Since a transition doesn't always end due to the
above conditions, that CPU hogging would stay forever.

This is the best workaround so far, it seems it's not possible to cancel
that interval from the outside nor to trigger events to make it do so.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2020-11-02 17:31:18 +01:00
..
ajax Format code to a single space around binary operators 2020-10-05 20:25:24 +02:00
BackgroundJobs
Command Merge pull request #23693 from nextcloud/bugfix/noid/import-cert-clarify 2020-10-26 22:50:28 +01:00
Controller Init vue comments tab 2020-10-20 13:58:06 +02:00
css Properly put hidden-visually off-screen 2020-10-29 21:35:36 +01:00
Data
Db
doc
Exception
fonts
img Add icon for dashboard app store category 2020-09-07 10:17:54 +02:00
js Work around snap.js state mess 2020-11-02 17:31:18 +01:00
l10n [tx-robot] updated from transifex 2020-11-01 02:18:23 +00:00
Middleware
Migrations add size index for filecache 2020-09-22 15:15:34 +02:00
Notification
Service Update the license headers for Nextcloud 20 2020-08-24 14:54:25 +02:00
skeleton
src Work around snap.js state mess 2020-11-02 17:31:18 +01:00
templates Fix password visibility toggles 2020-10-10 12:53:23 +00:00
vendor
.l10nignore
Application.php Fix invalid usages of the new dispatcher 2020-10-29 20:15:04 +01:00
register_command.php Update the license headers for Nextcloud 20 2020-08-24 14:54:25 +02:00
routes.php Move unified search to OCS api 2020-09-07 11:06:46 +02:00
shipped.json new weather status used in dashboard 2020-08-20 00:21:08 +02:00
strings.php
webpack.js Fix unified search 2020-08-03 11:26:03 +00:00
webpack.test.js Bump webpack-merge from 4.2.2 to 5.0.9 2020-07-30 16:38:05 +02:00