Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: issue with windowAsScrollContainer and translation offsets
With the recently introduced change to automatically find the scrolling parent of the SortableContainer (getScrollingParent function), there was an issue introduced where the scrollContainer would resolve to the document.body when using windowAsScrollContainer, and the container scroll offset would be taken into account twice. Normally, we take into account the window scroll position and the scroll container’s scroll position, but in this case they were both the same element.
- Loading branch information