Revert "Do not scroll cards into view"
This reverts commit abf67138e7.
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
@@ -131,6 +131,13 @@ export default {
|
||||
return [...this.card.labels].sort((a, b) => (a.title < b.title) ? -1 : 1)
|
||||
},
|
||||
},
|
||||
watch: {
|
||||
currentCard(newValue) {
|
||||
if (newValue) {
|
||||
this.$nextTick(() => this.$el.scrollIntoView())
|
||||
}
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
openCard() {
|
||||
const boardId = this.card && this.card.boardId ? this.card.boardId : this.$route.params.id
|
||||
|
||||
Reference in New Issue
Block a user