From 0c695c5c96d98e2daf6f3e98676282a6d688e039 Mon Sep 17 00:00:00 2001 From: Julien Maulny Date: Wed, 23 Oct 2019 18:12:22 +0200 Subject: Add a drag&drop delay on playlist videos to allow user scroll on small screens (#2154) * Add delay on playlist element reordering to fix user scroll on mobile Signed-off-by: Julien Maulny * Upgrade @angular/cdk to include bugfix about drag&drop Signed-off-by: Julien Maulny * add delay on playlist drag&drop on all touch screens Signed-off-by: Julien Maulny --- .../my-account-video-playlist-elements.component.html | 2 +- .../my-account-video-playlist-elements.component.ts | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) (limited to 'client/src') diff --git a/client/src/app/+my-account/my-account-video-playlists/my-account-video-playlist-elements.component.html b/client/src/app/+my-account/my-account-video-playlists/my-account-video-playlist-elements.component.html index a3de3da4a..2bfdf5c43 100644 --- a/client/src/app/+my-account/my-account-video-playlists/my-account-video-playlist-elements.component.html +++ b/client/src/app/+my-account/my-account-video-playlists/my-account-video-playlist-elements.component.html @@ -14,7 +14,7 @@ class="videos" myInfiniteScroller [autoInit]="true" (nearOfBottom)="onNearOfBottom()" cdkDropList (cdkDropListDropped)="drop($event)" [dataObservable]="onDataSubject.asObservable()" > -
+
{ -- cgit v1.2.3