diff --git a/browser/main/NoteList/index.js b/browser/main/NoteList/index.js index 71734328..d00fd150 100644 --- a/browser/main/NoteList/index.js +++ b/browser/main/NoteList/index.js @@ -46,7 +46,7 @@ class NoteList extends React.Component { let list = this.refs.root let item = list.childNodes[targetIndex] - let overflowBelow = list.clientHeight + list.scrollTop < item.offsetTop + list.clientHeight + let overflowBelow = item.offsetTop + item.clientHeight - list.clientHeight - list.scrollTop > 0 if (overflowBelow) { list.scrollTop = item.offsetTop + item.clientHeight - list.clientHeight }