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

Any plans to support desktop scrolling too? #6

Open
vgoklani opened this issue Jul 8, 2015 · 4 comments
Open

Any plans to support desktop scrolling too? #6

vgoklani opened this issue Jul 8, 2015 · 4 comments

Comments

@vgoklani
Copy link

vgoklani commented Jul 8, 2015

I would like to have one codebase that runs on both :)

@roeierez
Copy link
Owner

roeierez commented Jul 8, 2015

Yes, I got several requests for desktop support, currently I am working on supporting auto detect height of list items so I will probably work on that right after.

@roeierez
Copy link
Owner

The desktop support is now implemented in 'native_scroller' branch.
You can test it by adding a configuration option to the list which is called 'useNativeScroller'.
e.g:

`list = new InfiniteList({

    itemHeightGetter: function(){ return 50;},

    itemRenderer: function(index, domElement){
        domElement.innerHTML = 'Item ' + index;
    },

    initialPage: {
        itemsCount: 200
    }

})`

Soon it is going to be merged into master.

@guo-yu
Copy link

guo-yu commented Sep 1, 2016

👍

@ggriffithsIDBS
Copy link

Came across this repo, and this code is working wonderfully for my usecase, however, in the need for the desktop scrolling, any plans to release it?

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

4 participants