mirror of
https://github.com/livebook-dev/livebook.git
synced 2024-12-27 01:42:11 +08:00
Change the scroll behavior from when clicking a notebook sections (#2705)
This commit is contained in:
parent
4c6e1f0ad2
commit
de79bc69af
1 changed files with 1 additions and 1 deletions
|
@ -575,7 +575,7 @@ const Session = {
|
|||
if (sectionButton) {
|
||||
const sectionId = sectionButton.getAttribute("data-section-id");
|
||||
const section = this.getSectionById(sectionId);
|
||||
section.scrollIntoView({ behavior: "smooth", block: "start" });
|
||||
section.scrollIntoView({ behavior: "instant", block: "start" });
|
||||
}
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue