Avoid using getBoundingClientRect to calculate height (#4001)
This commit is contained in:
committed by
Eugen Rochko
parent
8fecd80108
commit
63b77f2320
@ -17,7 +17,6 @@ export default class StatusContent extends React.PureComponent {
|
||||
status: ImmutablePropTypes.map.isRequired,
|
||||
expanded: PropTypes.bool,
|
||||
onExpandedToggle: PropTypes.func,
|
||||
onHeightUpdate: PropTypes.func,
|
||||
onClick: PropTypes.func,
|
||||
};
|
||||
|
||||
@ -56,9 +55,6 @@ export default class StatusContent extends React.PureComponent {
|
||||
}
|
||||
|
||||
componentDidUpdate () {
|
||||
if (this.props.onHeightUpdate) {
|
||||
this.props.onHeightUpdate();
|
||||
}
|
||||
this._updateStatusLinks();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user