Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vibrating scrollbar in nested lists #71

Open
ghost opened this issue Mar 2, 2019 · 1 comment
Open

Vibrating scrollbar in nested lists #71

ghost opened this issue Mar 2, 2019 · 1 comment

Comments

@ghost
Copy link

ghost commented Mar 2, 2019

I have this problem with my list actually this is my render funct:

<div style={{ height: '100%', overflow: 'hidden' }}>
              {(budget && budget.length && !fetching) && (
                <VirtualList
                  itemCount={budget.length}
                  height={height //this belong to clientHeight}
                  renderItem={this.renderChild(null)}
                  itemSize={(index => heights[index] || 24)}
                />
              )}
</div>

and this is renderChild:

<Collapse style={{ height: 200, overflowY: 'auto' }} isOpen={toggles[realId]}>
          {(toggles[realId] && nextData) && (
            <div>
              <VirtualList
                itemCount={nextData.length}
                height={200}
                renderItem={this.renderBudget(nextData)}
                itemSize={(index => heights[index] || 24)}
              />
            </div>
          )}
</Collapse>

well this is what happen when i scroll down the list of collapsable data:
Gif

@kole
Copy link

kole commented Mar 13, 2019

I am experience this as well. Nested lists on a kanban-style board with vertically scrolling lists inside a horizontally scrolling board (like Trello).

Anyone have any feedback on this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant