Make scroll behavior way more idiomatic

This commit is contained in:
Ian Gulliver
2019-06-26 16:46:01 +00:00
parent d6e34a9506
commit f6085d0131

View File

@@ -659,7 +659,7 @@ class EditorEntryBase extends ListenUtils {
}
onElemFocus() {
this.elem_.scrollIntoView({block: 'center'});
this.elem_.scrollIntoView({block: 'nearest'});
}
onKeyDown(e) {