Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
CristianDavideConte committed Jan 17, 2024
1 parent 433ba17 commit 137d2a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/uss.js
Original file line number Diff line number Diff line change
Expand Up @@ -2300,7 +2300,7 @@ export const getScrollableParent = (container = _pageScroller, includeHiddenPare
//At least one axis should be tested.
if (_testScrollX || _testScrollY) {
if (_parent === _windowScroller) {
_parent = GET_WINDOW_OF(_parent);
_parent = GET_WINDOW_OF(container);
}

const [_scrollXCalculator, _scrollYCalculator] = getScrollCalculators(_parent, options);
Expand Down

0 comments on commit 137d2a0

Please sign in to comment.