1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-12-23 23:48:07 +00:00

quickfix: StickyContainer footerFixed condition

This commit is contained in:
Szymon Lesisz 2018-10-10 14:01:40 +02:00
parent 31fc23228a
commit fabcd54145

View File

@ -141,7 +141,7 @@ export default class StickyContainer extends React.PureComponent<Props, State> {
state.footerFixed = false;
}
} else if (footerBounds.bottom < viewportHeight) {
state.footerFixed = true;
state.footerFixed = asideBounds.height > wrapperBounds.height;
}
state.prevScrollY = scrollY;