Fix page jump bar not rendering/rendering in the wrong order

This commit is contained in:
Mark McDowall 2019-02-27 20:56:55 -08:00
parent 6b15d7e260
commit 39e3120058
1 changed files with 2 additions and 1 deletions

View File

@ -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
);
}