nextcloud/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 Update license headers for 19 2020-04-29 11:57:22 +02:00
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 Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Db Update license headers 2019-12-05 15:38:45 +01:00
doc changed to nextcloud 2016-06-22 08:20:23 +02:00
Exception Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
fonts Move font from Nunito to Noto Sans 2019-06-22 11:23:44 +02:00
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 Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Migrations add size index for filecache 2020-09-22 15:15:34 +02:00
Notification Update license headers for 19 2020-04-29 11:57:22 +02:00
Service Update the license headers for Nextcloud 20 2020-08-24 14:54:25 +02:00
skeleton ownCloud -> Nextcloud 2016-07-28 15:47:04 +02:00
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 Remove core.js 2019-01-09 15:02:00 +01:00
.l10nignore Add core/js/dist/ to l10nignore 2019-06-13 13:55:22 +02:00
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 Update license headers 2019-12-05 15:38:45 +01:00
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