We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4905781 commit 90c2ff7Copy full SHA for 90c2ff7
1 file changed
browser/finder/Components/FinderList.jsx
@@ -12,6 +12,10 @@ module.exports = React.createClass({
12
var index = this.props.articles.indexOf(this.props.currentArticle)
13
var el = React.findDOMNode(this)
14
var li = el.querySelectorAll('li')[index]
15
+
16
+ if (li == null) {
17
+ return
18
+ }
19
20
var overflowBelow = el.clientHeight + el.scrollTop < li.offsetTop + li.clientHeight
21
if (overflowBelow) {
0 commit comments