1
0
mirror of https://github.com/BoostIo/Boostnote synced 2026-05-31 19:53:06 +00:00

After select an other note now scroll to top

This commit is contained in:
David Dreher
2019-02-18 06:52:51 +01:00
committed by Junyoung Choi
parent 3c9d614e1f
commit c667e1465d
+2
View File
@@ -954,6 +954,8 @@ export default class MarkdownPreview extends React.Component {
document.body.appendChild(overlay)
}
}
this.getWindow().scrollTo(0, 0)
}
focus () {