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
Previously attempting to use SimpleBar in a parent with "display: flex"
resulted in no scrolling at all. If you specified "overflow: scroll"
on the SimpleBar element you got two scroll bars being displayed
the SimpleBar one and the native one.
The fix is to simply add "overflow: hidden" on the SimpleBar element
(otherwise the track offsetHeigth is equal to our scrollHeight).
Since we currently respect overflow settings (by setting the respective
scrollbar to a size of 0), we also need to skip that check for flex parents.
0 commit comments