smooth scrolling tracks
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Artem Anufrij 2023-02-19 19:45:17 +01:00
parent 9e4e7d4697
commit 77e835e33e

View File

@ -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",
}); });
}); });
} }