1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 17:56:25 +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

View File

@@ -954,6 +954,8 @@ export default class MarkdownPreview extends React.Component {
document.body.appendChild(overlay) document.body.appendChild(overlay)
} }
} }
this.getWindow().scrollTo(0, 0)
} }
focus () { focus () {