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

Support horizontal virtualization #59

Open
lgabeskiria opened this issue May 28, 2016 · 5 comments
Open

Support horizontal virtualization #59

lgabeskiria opened this issue May 28, 2016 · 5 comments

Comments

@lgabeskiria
Copy link

For more details see "Horizontal Usage"
https://material.angularjs.org/latest/demo/virtualRepeat

@AStoker
Copy link
Contributor

AStoker commented Jun 28, 2016

@levan-g: How are you hoping to use horizontal scrolling? Can you send me a DOM snippet of what you're wanting? We use CSS Columns for our horizontal scrolling, and am curious how other people accomplish this. Going to take a stab at getting it working.

@lgabeskiria
Copy link
Author

@AStoker horizontal scrolling is usable in touch devices. There is a demo of horizontal scrolling on desktop with mousewheel http://codepen.io/ritz078/pen/bEYOov

@AStoker
Copy link
Contributor

AStoker commented Jun 28, 2016

I could see that horizontal scrolling would work fine with a flag indicating the direction of the scrolling, that way we can determine the correct algorithm for determining how many items are to be displayed. But I'm trying to figure out if there's a way that we can determine that without a flag. And more so, if we can get that working without a flag and have it work with CSS Columns as well (which can have more than just 1 element per column). Ideas on that one @levan-g, or anybody else?

@AStoker
Copy link
Contributor

AStoker commented Jul 1, 2016

@levan-g, working on horizontal scroll here to make a PR: https://github.com/AStoker/ui-virtualization
Current remaining issue before I make a PR on it is when the user is scrolling very quickly, the indexes for which items to move get hosed, and you see empty slots where elements should be in the list. Feel free to take a look at it and maybe help with the problem.

@mKlus
Copy link

mKlus commented Jul 10, 2017

Hi guys. Is this now part of aurelia’s virt plugin? Or do I need to get AStoker’s version? Could you please post a simple snippet of the code with horizontal scrolling please?

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

No branches or pull requests

4 participants