From a9fca4431b8d46d7566f1a402320d261d3b8b8cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Molakvo=C3=A6=20=28skjnldsv=29?= Date: Mon, 10 Jun 2019 15:39:24 +0200 Subject: Fix ghost contact when scrolling MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: John Molakvoæ (skjnldsv) --- css/ContactsList.scss | 6 +++++- package-lock.json | 15 ++++++--------- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/css/ContactsList.scss b/css/ContactsList.scss index 5a2e39bc..0851c447 100644 --- a/css/ContactsList.scss +++ b/css/ContactsList.scss @@ -36,11 +36,15 @@ // Virtual scroller overrides -.vue-recycle-scroller{ +.vue-recycle-scroller { position: sticky !important; } .vue-recycle-scroller__item-view { // same as app-content-list-item height: 68px; + // TODO: find better solution? + // https://github.com/Akryum/vue-virtual-scroller/issues/70 + // hack to not show the transition + overflow: hidden; } \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index fdf5a952..b37e8766 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2325,7 +2325,7 @@ }, "cdav-library": { "version": "github:nextcloud/cdav-library#1940b5ab6f3f46d5fbe09cd12351f8b0fa0efc7e", - "from": "github:nextcloud/cdav-library#1940b5ab6f3f46d5fbe09cd12351f8b0fa0efc7e", + "from": "github:nextcloud/cdav-library", "requires": { "@babel/polyfill": "^7.4.4" } @@ -4710,7 +4710,6 @@ "minipass": { "version": "2.3.5", "bundled": true, - "optional": true, "requires": { "safe-buffer": "^5.1.2", "yallist": "^3.0.0" @@ -4906,8 +4905,7 @@ }, "safe-buffer": { "version": "5.1.2", - "bundled": true, - "optional": true + "bundled": true }, "safer-buffer": { "version": "2.1.2", @@ -4997,15 +4995,14 @@ }, "yallist": { "version": "3.0.3", - "bundled": true, - "optional": true + "bundled": true } } }, "fstream": { - "version": "1.0.11", - "resolved": "https://registry.npmjs.org/fstream/-/fstream-1.0.11.tgz", - "integrity": "sha1-XB+x8RdHcRTwYyoOtLcbPLD9MXE=", + "version": "1.0.12", + "resolved": "https://registry.npmjs.org/fstream/-/fstream-1.0.12.tgz", + "integrity": "sha512-WvJ193OHa0GHPEL+AycEJgxvBEwyfRkN1vhjca23OaPVMCaLCXTd5qAu82AjTcgP1UJmytkOKb63Ypde7raDIg==", "dev": true, "requires": { "graceful-fs": "^4.1.2", -- cgit v1.2.3