react-virtualized icon indicating copy to clipboard operation
react-virtualized copied to clipboard

Horizontal scrolling doesn't work in ReactVirtualized List

Open bdubrovsky opened this issue 7 years ago • 5 comments

Hi,

We're implementing a tree using ReactVirtualized List. With each level of indent in the tree, the length of each line in the list gets longer, ultimately requiring a horizontal scroll.

We made the horizontal scrolling work by adding highly specific CSS rules which force overflow: auto on the outer div (classNames= "ReactVirtualized__Grid ReactVirtualized__List"), and by forcing overflow: visible on the inner div (classNames="ReactVirtualized__Grid__innerScrollContainer")

  1. Are there any mine fields here we're not seeing?
  2. Please feel free to use this approach in any new feature you might add.

Thanks,

Ben Dubrovsky

bdubrovsky avatar Oct 18 '18 19:10 bdubrovsky

Looking forward for this feature. Need to have horizontal scrolling for zoom in/out content inside the list.

asakalou-exadel avatar Nov 06 '18 16:11 asakalou-exadel

We are also needing this in a internal tool. How can I help?

rmariuzzo avatar Dec 06 '18 23:12 rmariuzzo

as a workaround i redefine styles .ReactVirtualized__Grid__innerScrollContainer { overflow: initial !important; }

anchmelev avatar Sep 04 '19 08:09 anchmelev

as a workaround i redefine styles .ReactVirtualized__Grid__innerScrollContainer { overflow: initial !important; }

Great, but overflow: initial does not work in IE11

mir3z avatar Feb 19 '20 11:02 mir3z

Is there any new development on this issue so far?

ChristophVitz-ItSonix avatar Jun 24 '21 10:06 ChristophVitz-ItSonix