You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This works fine on any container in the page that has width/height and overflow scroll, but the obvious case in which the scroll is on the document.scrollingElement, it doesn't. Computationally it should be easier, and for older browsers https://github.com/mathiasbynens/document.scrollingElement can be used to have document.scrollingElement available.
LE: Since there are calculation differences between versions of browsers (i.e. Chrome 59 scrollingElement differs from Chrome 61 calculations) using scrollingElement is done only to get the DOM element, viewPort calculations has been changed to use older more reliable measurements which won't change in the predictable future.
The text was updated successfully, but these errors were encountered:
alex7071
added a commit
to alex7071/react-dnd-scrollzone
that referenced
this issue
Jul 13, 2017
This works fine on any container in the page that has width/height and overflow scroll, but the obvious case in which the scroll is on the document.scrollingElement, it doesn't. Computationally it should be easier, and for older browsers https://github.com/mathiasbynens/document.scrollingElement can be used to have document.scrollingElement available.
LE: Since there are calculation differences between versions of browsers (i.e. Chrome 59 scrollingElement differs from Chrome 61 calculations) using scrollingElement is done only to get the DOM element, viewPort calculations has been changed to use older more reliable measurements which won't change in the predictable future.
The text was updated successfully, but these errors were encountered: