main #19
@ -66,12 +66,14 @@ export default {
|
|||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
element.scrollIntoView({
|
element.scrollIntoView({
|
||||||
block: "start",
|
block: "start",
|
||||||
|
behavior: "smooth",
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
} else if (scrollUp) {
|
} else if (scrollUp) {
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
element.scrollIntoView({
|
element.scrollIntoView({
|
||||||
block: "end",
|
block: "end",
|
||||||
|
behavior: "smooth",
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user