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
Sometimes a few legend items will show, but the rest will be hidden out of view and not reachable by scrolling. In this case, the legend items didn't show up at all:
explore the effectiveness of adding conditional styling in firefox for padding and scrollable lists
iterate on the react-custom-scrollbars to remove scrollbar styling and explore padding and other styling rules to always hide native scrollbars.
Horizontal / No Trackbar Width
Scrollable view does not need horizontal scrollbar
Solution: no need for margin-bottom
Scrollable view does need horizontal scrollbar and still scrolls vertically
Note: add negative margin-bottom but adding padding-bottom doesn’t really help
Horizontal / Scrollbar Trackbar Width
Overflow scroll always adds space for scrollbar
Solution: just add negative margin
Vertical / No Trackbar Width
Scroll view does need vert scrollbar
Solution: adding negative margin and padding should be fine
Scroll view does not need vert scrollbar and still scrolls horizontally
Note: needs verification that negative margin-right and adding padding-right solves this
Vertical / With Trackbar Width
Overflow scroll always adds space for scrollbar
Solution: just add negative margin
add Chrome scrollbar width/height styling when calling getScrollbarWidth() to remove check for isFirefox. This means Chrome never allocates space for a scrollbar.
update initial rendering to always apply negative margins
update initial rendering to only apply padding or some kind scroll spacing when getScrollbarWidth() is zero.
The text was updated successfully, but these errors were encountered:
Sometimes a few legend items will show, but the rest will be hidden out of view and not reachable by scrolling. In this case, the legend items didn't show up at all:
react-custom-scrollbars
to remove scrollbar styling and explorepadding
and other styling rules to always hide native scrollbars.Horizontal / No Trackbar Width
Horizontal / Scrollbar Trackbar Width
Vertical / No Trackbar Width
Vertical / With Trackbar Width
getScrollbarWidth()
to remove check forisFirefox
. This means Chrome never allocates space for a scrollbar.getScrollbarWidth()
is zero.The text was updated successfully, but these errors were encountered: