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

Option to scroll to the item at n'th index without manually scrolling #316

Open
mohanapreeya opened this issue Feb 27, 2020 · 4 comments
Open

Comments

@mohanapreeya
Copy link

I want to have a small div containing only the item names and scroll to that item on clicking its name. Is it possible to get the scrollTop of the item which is not even in the dom?

@lolmaus
Copy link

lolmaus commented Jan 13, 2021

Yes, please.

I have invested time and effort into employing this addon to discover on a late stage that scrolling to a given item programmatically is not supported. 😭

ember-collection has this feature, as well as grid support, but it lacks body scrolling support which is essential for mobile.

I need this feature to substitute for lack of Ctrl+F in-page search.

@ybaldus
Copy link

ybaldus commented Mar 8, 2021

@lolmaus there is a pull request for this feature: #302

I merged the pull request to the actual 2.0.0 https://github.com/ybaldus/vertical-collection-1
Works like a charm.

@lolmaus
Copy link

lolmaus commented Mar 8, 2021

Dupicate of #162?

@ybaldus
Copy link

ybaldus commented Mar 8, 2021

Yes, I think so.

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

3 participants