mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 09:46:22 +00:00
After select an other note now scroll to top
This commit is contained in:
committed by
Junyoung Choi
parent
3c9d614e1f
commit
c667e1465d
@@ -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 () {
|
||||||
|
|||||||
Reference in New Issue
Block a user