mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-16 10:03:51 -07:00
Fixed: Rendering Tweaks to UI
This commit is contained in:
parent
2c8b137349
commit
795a445b52
3 changed files with 179 additions and 159 deletions
|
@ -26,6 +26,13 @@ class PageJumpBar extends Component {
|
|||
this.computeVisibleItems();
|
||||
}
|
||||
|
||||
shouldComponentUpdate(nextProps, nextState) {
|
||||
return (
|
||||
nextProps.items !== this.props.items ||
|
||||
nextState.height !== this.state.height
|
||||
);
|
||||
}
|
||||
|
||||
componentDidUpdate(prevProps, prevState) {
|
||||
if (
|
||||
prevProps.items !== this.props.items ||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue