diff --git a/src/views/Wallet/components/LeftNavigation/components/StickyContainer/index.js b/src/views/Wallet/components/LeftNavigation/components/StickyContainer/index.js index 6bc335f4..5b984583 100644 --- a/src/views/Wallet/components/LeftNavigation/components/StickyContainer/index.js +++ b/src/views/Wallet/components/LeftNavigation/components/StickyContainer/index.js @@ -129,6 +129,8 @@ export default class StickyContainer extends React.PureComponent { } // make sure that wrapper will not be over scrolled if (state.wrapperTopOffset > 0) state.wrapperTopOffset = 0; + const maxScrollTop = viewportHeight - wrapperBounds.height; + if (state.wrapperTopOffset < maxScrollTop) state.wrapperTopOffset = maxScrollTop; } else { // update wrapper "top" to be same as "aside" element state.wrapperTopOffset = asideBounds.top;