smooth scrolling tracks
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
9e4e7d4697
commit
77e835e33e
@ -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