fix for scroll up fab breaking the page
This commit is contained in:
parent
f3ad1d3d4e
commit
ea6f11dfca
1 changed files with 5 additions and 1 deletions
|
@ -64,7 +64,11 @@
|
||||||
},
|
},
|
||||||
scrollToTop() {
|
scrollToTop() {
|
||||||
let target = document.querySelector(".header-text")
|
let target = document.querySelector(".header-text")
|
||||||
target.scrollIntoView({behavior: "smooth", block: "start", inline: "nearest"})
|
document.querySelector("#app-content").scrollTo({
|
||||||
|
top: 0,
|
||||||
|
left: 0,
|
||||||
|
behavior: 'smooth'
|
||||||
|
})
|
||||||
},
|
},
|
||||||
getNext() {
|
getNext() {
|
||||||
// if this.data.next is not null, then we can run this.data.next() and concat to this.data.data to get the next page
|
// if this.data.next is not null, then we can run this.data.next() and concat to this.data.data to get the next page
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue