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

Scrolling cells one by one #547

Closed
dangelion opened this issue Apr 27, 2017 · 6 comments
Closed

Scrolling cells one by one #547

dangelion opened this issue Apr 27, 2017 · 6 comments

Comments

@dangelion
Copy link

Hi, I need to show 5 cells in the initial state, then to scroll them one by one. Here is:
http://codepen.io/anon/pen/ZKLMKY

But the last 4 scroll are useless. Infact you can see 4 more dot that are not needed. There's a way to solve this or is it a bug?

Thanks

@desandro
Copy link
Member

I recommend you use groupCells for this use case.

See demo http://codepen.io/desandro/pen/72832e480689a8d535dc7fa031f6fd5f/

@dangelion
Copy link
Author

Hi @desandro
yes I know that with groupCells works well but I need to scroll the cells one by one. So I deduce that there is no way to do that, now?

@desandro
Copy link
Member

desandro commented May 1, 2017

need to scroll the cells one by one

Then you'll have to disable contain, so that each cell has its own unique position.

See #135 (comment) for why contain works this way.

@dangelion
Copy link
Author

Ok but the last 4 dots/scroll are useless again because I already see the last cell without scroll the last 4 dots:
http://codepen.io/anon/pen/MmoJYJ

@desandro
Copy link
Member

desandro commented May 2, 2017

I've discussed this topic elsewhere. See #177 (comment) and #289 (comment)

The dots are not useless because different cells need to be selectable for accessibility.

@desandro desandro closed this as completed May 2, 2017
@koalabear974
Copy link

Hey !
Still have the same problem. Can't find a way to have a group selection that can scroll one cell by one cell :/

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

No branches or pull requests

3 participants