Verified Commit 7623e2ab authored by Roberto Bochet's avatar Roberto Bochet
Browse files

Changed the auto scroll behaviour to smooth

parent da3c0fdd
......@@ -7,7 +7,7 @@ let autoscroll = () => {
if (dy < 0) dy = 0;
container.scrollTop = cell.offsetTop - dy;
container.scrollTo({top: cell.offsetTop - dy, behavior: 'smooth'});
};
$([IPython.events]).on("select.Cell", autoscroll);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment