diff --git a/src/views/Wallet/components/LeftNavigation/components/StickyContainer/index.js b/src/views/Wallet/components/LeftNavigation/components/StickyContainer/index.js index 5b984583..5ec5be54 100644 --- a/src/views/Wallet/components/LeftNavigation/components/StickyContainer/index.js +++ b/src/views/Wallet/components/LeftNavigation/components/StickyContainer/index.js @@ -130,7 +130,7 @@ 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; + if (maxScrollTop < 0 && state.wrapperTopOffset < maxScrollTop) state.wrapperTopOffset = maxScrollTop; } else { // update wrapper "top" to be same as "aside" element state.wrapperTopOffset = asideBounds.top;