Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
  • Jan 28 01:23
    lowzijian commented #1316
  • Jan 26 21:39
    Bessonov commented #212
  • Jan 26 21:38
    Bessonov commented #212
  • Jan 25 15:48
    mdimitrov-finovation commented #1692
  • Jan 25 07:53
    dkarski commented #1719
  • Jan 25 07:52
    dkarski commented #1719
  • Jan 25 07:51
    dkarski opened #1719
  • Jan 25 07:10
    KYUUUW commented #1656
  • Jan 23 19:31
    jan-wilhelm commented #212
  • Jan 23 18:08
    davidivad96 commented #212
  • Jan 21 09:02
    danielloczi commented #1711
  • Jan 21 04:40
    lzy19926 opened #1718
  • Jan 19 03:14
    qin9smile commented #1587
  • Jan 18 21:36
    zendevil closed #1716
  • Jan 18 19:53
    zendevil opened #1717
  • Jan 18 11:05
    clazares commented #1626
  • Jan 18 10:00
    venkateshsundaram commented #1710
  • Jan 17 14:01
    amitShimon1983 commented #1607
  • Jan 17 14:01
    amitShimon1983 commented #1607
  • Jan 14 15:20
    mikegoatly commented #1641
@vyorkin please post in the slack channel
Alessandro Cataldi
Hi everybody, I'm trying to use the collection element to mimic the following behavior:
It's basically a grid that, when resized, recomputes its number of columns as the width of the element / the width of the single item.
Horizontal scrollbars should never appear, since the number of columns is computed to fit the appropriate number of items.
Any directions on how I can achieve that? Thx!
Hi guys, so I just forked react-virtualized repo, and npm install was throwing this error, any ideas why?
node: v6.9.4
npm: v3.10.10
resolve failed:  { Error: Cannot find module 'q-io'
    at Function.Module._resolveFilename (module.js:469:15)
    at Function.requireRelative.resolve (/Users/shan/Repos/sandbox/custom-react-virtualized/node_modules/require-relative/index.js:30:17)
    at resolve (/Users/shan/Repos/sandbox/custom-react-virtualized/node_modules/modify-babel-preset/lib/serialize.js:25:26)
    at findAndRemove (/Users/shan/Repos/sandbox/custom-react-virtualized/node_modules/modify-babel-preset/lib/serialize.js:67:11)
    at /Users/shan/Repos/sandbox/custom-react-virtualized/node_modules/modify-babel-preset/lib/serialize.js:111:13
    at Array.map (native)
    at loadPreset (/Users/shan/Repos/sandbox/custom-react-virtualized/node_modules/modify-babel-preset/lib/serialize.js:103:29)
    at module.exports (/Users/shan/Repos/sandbox/custom-react-virtualized/node_modules/modify-babel-preset/index.js:97:19)
    at Object.<anonymous> (/Users/shan/Repos/sandbox/custom-react-virtualized/node_modules/babel-preset-es2015-rollup/index.js:3:18)
    at Module._compile (module.js:570:32) code: 'MODULE_NOT_FOUND' } q-io
I tried npm cache clean & npm install q-io --save, didn't really work
is my node version not compatible or something?
hi everyone, i'm a big fan of react-virtualized and i was wondering if there is a way to implement smooth scrolling while using scrollToIndex prop of the List component ? (i'm using this component hierarchy InfiniteLoader > AutoSizer > List)
Maik Marschner
hi everyone :wave:
Hello please go to the slack channel if you have questions this gitter is dead
See project readme for link
Ben Edelstein
I'm having an issue where, occasionally when I call recomputeRowHeights() on List, it triggers an error: TypeError: Cannot read property 'recomputeGridSize' of null. Since I haven't been able to reproduce locally, I'm not sure exactly what is causing it. Has anyone else seen this same issue?
Please post in the slack channel this gitter is no longer in use

Hi all.

Is there any example of how to create Table component with columns width based on it cells content?
It seems like CellMeasurer can only work with Grid and List components...

I am having a requirement of collapsing/expanding rows and columns at multiple levels on a grid. Just wanted to know if there are ways to achieve that using react-virtualized?
I mean along with other grid features like other features like multi grid
@_cloudo_twitter @thecodejack this channel is dead please go to the associated Slack channel (see project readme for link)
Hi, a quick question how should I handle the case when, in an InfiniteScroll component my initial load has few rows and there is no scroll space available to trigger loadMoreRows
@AJShippify post in the slack channel (see above)
Peter Hiža
Hi, sorry for duplicate question, surely there has been one already... what are the ways to implement animation while scrolling? e.g. I have implemented Collection which looks like a grid (more easier for me was to use collection cause i have data in array of objects already... so no good for Grid)
only mention of animation is in Masonry but no examples and not further mentioned at all
I would like to have simple transition while vertically scrolling... is it possible somehow?
Ian VanSchooten
Thomas Davis
Trying to trigger rowRenderer to re-execute using List
but forceUpdateGrid() don't do anything
Gajus Kuizinas
Which are the correct components to use to create a multiple column grid?
Ian VanSchooten
@gajus This channel is not monitored, Brian and most of the others have moved to slack.
can someone help me setup InfiniteLoader with react-redux. List items are stored in redux state. I'm having scroll issues.
this happens automatically
Ilya Zabrodsky
Hi! Can someone suggest how to implement next
Untitled Diagram.jpg
Ilya Zabrodsky
the main problem is separator
Ian VanSchooten
We did something like this, and our general approach was to treat the seperators as a row, give them a type, and then in the render function check that type to determine how to render it. Granted, this was a list and not a grid though, so YMMV.
Ian Chipperfield

Hi all! Does anyone have knowledge of how to increase the scroll width of a Collection (I think it may be determined by the rightmost cell?)

I am trying to synchronize LTR scrolling on several collections but I need to ensure they have the same underlying scroll width (ie. the each scroll container's width is set to the right-most cell of all the collections)


Hi everyone, could someone explain to me the following:

  1. Where does the data come from for the list? Where is the entry point? Is it "context" ?

  2. Where does the actual "sorting" happen? I can't seem to grasp it quite right.



Ian VanSchooten
@AO17 you’re better off asking at the Slack channel, this is not really monitored anymore.
Hi all... I am new to react-virtualized.. I am using react-virtualized table and trying to disable row which includes button cell based on some condition.. How do I accomplish this.. Thanks in advance
Hi! I was wondering if there's a way to tell Grid how many off-screen (or out of window) elements to keep while scrolling. I have a very long list and a tall header on top. The header is slightly translucent so you can see the elements that have been scrolled past. Basically it would work like overscanRowCount, but in the opposite direction.
I don't mind implementing it and making a pull request if the answer is no. Although, I haven't looked at the code too closely yet, so not sure how trivial or non-trivial it would be to implement.
Ah. I'll xpost on slack, since it seems to be the official version.
hey does anyone know how to animate the scrollToPosition method?
can anyone link me to an example of using react-portal with react-virtualized to create dropdowns in the Table view - I am having trouble and the only example I have found is outdate and uses methods that no longer exist on react-portals.
i'm experiencing lag when using portals, does anyone know how to get good tracking, for instance if you scroll, when you stop the overlayed element will be correct but everything in between is jerky and out of sync
Benjamin Pryke
Hi guys. I have a MultiGrid using fixedRowCount (for headers) embedded inside an ArrowKeyStepper. If I select the first row of data in my grid and press up, the selection disappears into my header. Is it possible to provide an offset or make the ArrowKeyStepper work with the fixedRowCount of my MultiGrid?
Brian Vaughn
Just an FYI for folks still posting here- we're in Slack, not Gitter. Join us at https://react-virtualized.now.sh/
Benjamin Pryke
@bvaughn Thanks Brian
Rob Lao
Hi, I'm using enzyme to write unit tests against the react virtualized grid component, using enzyme.mount to load the component or using updatemethod cannot trigger cellRenderer method which I'd like to check on. Any ideas?
im implementing arrow-key-stepper .but the code has some bug