Scrolling release page up when browsing to movie.
This commit is contained in:
parent
92ba264cff
commit
8337ce8dbd
|
@ -328,9 +328,6 @@
|
||||||
v-if="actor.avatar || (actor.photos && actor.photos.length > 0)"
|
v-if="actor.avatar || (actor.photos && actor.photos.length > 0)"
|
||||||
v-slot="scroll"
|
v-slot="scroll"
|
||||||
:expandable="false"
|
:expandable="false"
|
||||||
:album="true"
|
|
||||||
:items="actor.photos"
|
|
||||||
@album="showAlbum = true"
|
|
||||||
>
|
>
|
||||||
<Photos
|
<Photos
|
||||||
:actor="actor"
|
:actor="actor"
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<div
|
<div
|
||||||
v-if="release"
|
v-if="release"
|
||||||
|
ref="content"
|
||||||
class="content"
|
class="content"
|
||||||
>
|
>
|
||||||
<Scroll
|
<Scroll
|
||||||
|
@ -217,6 +218,8 @@ async function fetchRelease() {
|
||||||
if (this.$route.name === 'movie') {
|
if (this.$route.name === 'movie') {
|
||||||
this.release = await this.$store.dispatch('fetchMovieById', this.$route.params.releaseId);
|
this.release = await this.$store.dispatch('fetchMovieById', this.$route.params.releaseId);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
this.$refs.content.scrollTop = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
function bannerBackground() {
|
function bannerBackground() {
|
||||||
|
|
Loading…
Reference in New Issue