Fix page jump bar not rendering/rendering in the wrong order
This commit is contained in:
parent
6b15d7e260
commit
39e3120058
|
@ -29,7 +29,8 @@ class PageJumpBar extends Component {
|
||||||
shouldComponentUpdate(nextProps, nextState) {
|
shouldComponentUpdate(nextProps, nextState) {
|
||||||
return (
|
return (
|
||||||
nextProps.items !== this.props.items ||
|
nextProps.items !== this.props.items ||
|
||||||
nextState.height !== this.state.height
|
nextState.height !== this.state.height ||
|
||||||
|
nextState.visibleItems !== this.state.visibleItems
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue