Skip to content
Snippets Groups Projects
Commit a3060231 authored by permcu's avatar permcu
Browse files

Make navigation set date

parent a36ae100
No related branches found
No related tags found
No related merge requests found
......@@ -323,6 +323,9 @@ export default {
.find((day) => day.date.toISODate() === date);
if (present) {
// React immediatly -> smoother navigation
// Also intersect handler does not always react to scrollIntoView
this.setDate(date);
present.focus("smooth");
} else {
this.setDate(date);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment