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
Setting the flow direction of a container (div, table, etc...) to right-to-left (via css direction: rtl) will break the functionality of the second scroll.
The problem is that with rtl enabled, the scrollLeft property initiates at 0px and goes negative as you scroll (right to left). But for left-to-right divs, such as doubleScroll-scroll-wrapper , negative scrolling is undefined.
Suggested fix:
change the direction of the doubleScroll-scroll-wrapper class to match with the direction of the thing you're attaching it to.
ie: modify the code from:
Setting the flow direction of a container (div, table, etc...) to right-to-left (via css
direction: rtl
) will break the functionality of the second scroll.The problem is that with rtl enabled, the
scrollLeft
property initiates at 0px and goes negative as you scroll (right to left). But for left-to-right divs, such asdoubleScroll-scroll-wrapper
, negative scrolling is undefined.Suggested fix:
change the direction of the
doubleScroll-scroll-wrapper
class to match with the direction of the thing you're attaching it to.ie: modify the code from:
to
The text was updated successfully, but these errors were encountered: