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

scrollTo #21

Closed
jakeaaron opened this issue Mar 13, 2017 · 5 comments
Closed

scrollTo #21

jakeaaron opened this issue Mar 13, 2017 · 5 comments
Assignees

Comments

@jakeaaron
Copy link

jakeaaron commented Mar 13, 2017

Hey! First off, great work on this!

Second, I was wondering if there is (or will be) a scroll to option? Before I had wrapped certain lists with this component, I was handing them off to a function I wrote to set the scrollTop value to scroll the list on a keychange, but it appears since wrapping them the element.scrollTop = calculatedValue doesn't work...

Any help would be appreciated! (and lemme know if you need a code example or something)

@rommguy rommguy self-assigned this Mar 13, 2017
@rommguy
Copy link
Owner

rommguy commented Mar 13, 2017

I think it can be added, is the value a number ?

@jakeaaron
Copy link
Author

I would think so! I'm thinking of a couple of existing apis like scrollTo and scrollTop and they just take integer values.

I appreciate the response!

@rommguy
Copy link
Owner

rommguy commented Mar 13, 2017

No problem, I'll try to add it

@rommguy
Copy link
Owner

rommguy commented Mar 14, 2017

@jakeaaron you can use v1.9.0 that includes scrollTo prop.
Enjoy

@jakeaaron
Copy link
Author

Awesome! Thanks so much! Thank you for the quick response and action! +1 😄

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

2 participants