nextcloud/core/vendor
Daniel Calviño Sánchez de4028336a Force the drag to end when the navigation bar Snap is disabled by an app
When a Snap was disabled it stopped listening to the events, but if a
drag gesture was being performed it was kept as active. Thus, when the
Snap was enabled again move events were handled as if the Snap had never
been disabled, causing the gesture handling to continue where it was
left.

When the Snap for the navigation bar is disabled by an app it could be
as a result of a different gesture being recognized by the app (for
example, a vertical swipe) once both gestures have started. In that case
when the other gesture ends and the Snap is enabled again any pointer
movement will cause the navigation bar to slide until an "up" event is
triggered again (obviously not the desired behaviour).

Due to all this now when the Snap for the navigation bar is disabled by
an app the current drag gesture for the navigation bar is ended.

Note that this was added as a parameter to "Snap.disable()" instead of
done unconditionally to keep back-compatibility with the previous
behaviour (probably not really needed as it is unlikely that any app is
using the Snap library relying on that behaviour... but just in case).

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2017-12-14 21:42:39 +01:00
..
DOMPurify Bump DOMPurify to 1.0.0 2017-08-17 12:29:53 +02:00
autosize Move to autosize.min.js 2017-04-03 13:42:33 +02:00
backbone update backbone.js from 1.2.1 to 1.2.3 2015-11-30 14:12:48 +01:00
base64 Add davidchambers/base64 JS library 2015-12-14 17:48:30 +01:00
blueimp-md5 [js] Bump blueimp-md5 a major version 2017-04-10 20:56:56 +02:00
bootstrap Add .bower.json to version control 2016-10-12 12:03:38 +02:00
clipboard Use minified clipboard.js 2017-03-29 00:27:50 +02:00
davclient.js vendor: Update davclient.js to 0.1.2 2017-09-15 16:32:15 +02:00
es6-promise Add .bower.json to version control 2016-10-12 12:03:38 +02:00
handlebars Move to handlebars.min.js 2017-04-12 22:22:38 +02:00
jcrop include lock files of bower to be able to use "bower install" 2014-12-01 10:30:15 +01:00
jquery downgrade jquery, update jquery-migrate 2016-04-15 13:55:23 +02:00
jquery-migrate downgrade jquery, update jquery-migrate 2016-04-15 13:55:23 +02:00
jquery-ui Moved to jquery-ui.custom.min.js 2017-04-12 20:03:00 +02:00
jsTimezoneDetect move jstz to bower management 2014-12-01 10:40:31 +01:00
marked Add marked 2017-01-13 18:33:42 +01:00
moment use moments.js min in core.js 2017-03-26 10:25:15 +02:00
select2 include lock files of bower to be able to use "bower install" 2014-12-01 10:30:15 +01:00
snapjs Force the drag to end when the navigation bar Snap is disabled by an app 2017-12-14 21:42:39 +01:00
strengthify Update strengthify and fix password strength 2017-03-27 10:06:30 -06:00
underscore update underscore to 1.8.3 2015-07-27 10:36:19 +02:00
zxcvbn [3rdparty] Bump zxcvbn 2017-03-25 20:56:20 +01:00
.gitignore Move to handlebars.min.js 2017-04-12 22:22:38 +02:00
core.js Force the drag to end when the navigation bar Snap is disabled by an app 2017-12-14 21:42:39 +01:00