mirror of
https://github.com/trezor/trezor-wallet
synced 2025-01-12 00:50:58 +00:00
quickfix: StickyContainer footerFixed condition
This commit is contained in:
parent
31fc23228a
commit
fabcd54145
@ -141,7 +141,7 @@ export default class StickyContainer extends React.PureComponent<Props, State> {
|
|||||||
state.footerFixed = false;
|
state.footerFixed = false;
|
||||||
}
|
}
|
||||||
} else if (footerBounds.bottom < viewportHeight) {
|
} else if (footerBounds.bottom < viewportHeight) {
|
||||||
state.footerFixed = true;
|
state.footerFixed = asideBounds.height > wrapperBounds.height;
|
||||||
}
|
}
|
||||||
|
|
||||||
state.prevScrollY = scrollY;
|
state.prevScrollY = scrollY;
|
||||||
|
Loading…
Reference in New Issue
Block a user