react-native icon indicating copy to clipboard operation
react-native copied to clipboard

Android: scrollReponderScrollWithoutAnimationTo on ListView doesn't do anything.

Open jkhustler opened this issue 10 years ago • 6 comments

The documentation has me believing that calling scrollResponderScrollWithoutAnimationTo on a ListView ref should allow me to set the scroll position on Android. It looks like it's not doing anything. Is this known behavior?

jkhustler avatar Feb 03 '16 06:02 jkhustler

Hey jkhustler, thanks for reporting this issue!

React Native, as you've probably heard, is getting really popular and truth is we're getting a bit overwhelmed by the activity surrounding it. There are just too many issues for us to manage properly.

  • If you don't know how to do something or something is not working as you expect but not sure it's a bug, please ask on StackOverflow with the tag react-native or for more real time interactions, ask on Discord in the #react-native channel.
  • If this is a feature request or a bug that you would like to be fixed, please report it on Product Pains. It has a ranking feature that lets us focus on the most important issues the community is experiencing.
  • We welcome clear issues and PRs that are ready for in-depth discussion. Please provide screenshots where appropriate and always mention the version of React Native you're using. Thank you for your contributions!

facebook-github-bot avatar Feb 03 '16 06:02 facebook-github-bot

That method is deprecated (although it should still work?). Try using scrollResponderScrollTo() instead.

nicklockwood avatar Feb 03 '16 12:02 nicklockwood

@jkhustler Are you using a RefreshControl? There is an issue that scrollTo is not working when using that (#5725).

janicduplessis avatar Feb 03 '16 17:02 janicduplessis

@nicklockwood I've tried that also, still no dice :/

@janicduplessis Yes I am! This explains it. So I am not going crazy. Thanks so much for your response :)

jkhustler avatar Feb 03 '16 17:02 jkhustler

Closing since this is a dupe

jkhustler avatar Feb 03 '16 17:02 jkhustler

@jkhustler Great, I just submitted a PR so it should get fixed soon :)

janicduplessis avatar Feb 03 '16 17:02 janicduplessis