From 39e3120058a20abd8fc358bc053e5685e14e0737 Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Wed, 27 Feb 2019 20:56:55 -0800 Subject: [PATCH] Fix page jump bar not rendering/rendering in the wrong order --- frontend/src/Components/Page/PageJumpBar.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/src/Components/Page/PageJumpBar.js b/frontend/src/Components/Page/PageJumpBar.js index f555d5426..41df52dfc 100644 --- a/frontend/src/Components/Page/PageJumpBar.js +++ b/frontend/src/Components/Page/PageJumpBar.js @@ -29,7 +29,8 @@ class PageJumpBar extends Component { shouldComponentUpdate(nextProps, nextState) { return ( nextProps.items !== this.props.items || - nextState.height !== this.state.height + nextState.height !== this.state.height || + nextState.visibleItems !== this.state.visibleItems ); }