From abf67138e7c97ef4e61defc4504e0baf7fa6311a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Fri, 15 May 2020 11:22:41 +0200 Subject: [PATCH] Do not scroll cards into view MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- src/components/cards/CardItem.vue | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/components/cards/CardItem.vue b/src/components/cards/CardItem.vue index d8f2a219d..87be026bb 100644 --- a/src/components/cards/CardItem.vue +++ b/src/components/cards/CardItem.vue @@ -137,13 +137,6 @@ export default { return moment(this.card.duedate).format('LLLL') }, }, - watch: { - currentCard(newValue) { - if (newValue) { - this.$nextTick(() => this.$el.scrollIntoView()) - } - }, - }, methods: { openCard() { this.$router.push({ name: 'card', params: { cardId: this.id } })