! Fix user fav list having "scroll to top" effect when "load more" clicked (#1854)
This commit is contained in:
parent
506ce48fd9
commit
ef9efc9c75
|
@ -37,12 +37,16 @@ export default Vue.extend({
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
activeData() {
|
// This implementation of loading effect
|
||||||
this.isLoading = true
|
// causes "scroll to top" side effect which is reported as a bug
|
||||||
setTimeout(() => {
|
// https://github.com/FreeTubeApp/FreeTube/issues/1507
|
||||||
this.isLoading = false
|
//
|
||||||
}, 100)
|
// activeData() {
|
||||||
}
|
// this.isLoading = true
|
||||||
|
// setTimeout(() => {
|
||||||
|
// this.isLoading = false
|
||||||
|
// }, 100)
|
||||||
|
// }
|
||||||
},
|
},
|
||||||
mounted: function () {
|
mounted: function () {
|
||||||
const limit = sessionStorage.getItem('favoritesLimit')
|
const limit = sessionStorage.getItem('favoritesLimit')
|
||||||
|
|
Loading…
Reference in New Issue