mirror of
https://github.com/trezor/trezor-wallet
synced 2024-11-13 20:08:56 +00:00
fixed redrawing Aside StickyContainer
This commit is contained in:
parent
e0f5cbf709
commit
b0d7891f5d
@ -113,8 +113,8 @@ export default class StickyContainer extends React.PureComponent<Props> {
|
||||
if (asideBounds.top < 0) {
|
||||
window.scrollTo(0, getScrollY() + asideBounds.top);
|
||||
this.topOffset = 0;
|
||||
raf(this.update);
|
||||
}
|
||||
raf(this.update);
|
||||
} else if (this.props.deviceSelection !== prevProps.deviceSelection) {
|
||||
raf(this.update);
|
||||
} else if (!this.firstRender) {
|
||||
|
Loading…
Reference in New Issue
Block a user