facebook / react-native

A framework for building native applications using React
https://reactnative.dev
MIT License
119.12k stars 24.32k forks source link

Control scroll animation duration for Android is not available #30517

Closed nicocolascrete closed 1 year ago

nicocolascrete commented 3 years ago

Please provide all the information requested. Issues that do not follow this format are likely to stall.

Description

The scroll animation for android still not worked. In the documentation there is a param duration for config this but it's not present in the source code. Documentation: https://reactnative.dev/docs/scrollview#scrolltoend Pull request: ( merge and after revert ) https://github.com/facebook/react-native/pull/22884

React Native version:

reacrt-native 0.63.4

Steps To Reproduce

this._scroller.scrollToEnd({animated: true, duration: 800});

Expected Results

The scrollview need to scroll to end with a duration of 800 ms.

Snack, code example, screenshot, or link to a repository:

I think the behaviour it's clear without example. There is trouble between source code and documentation.

nicocolascrete commented 3 years ago

Any informations about this? Another possibility to set duration on android scroll?

nicocolascrete commented 3 years ago

Any update?

nicocolascrete commented 3 years ago

Nobody can help us on this issue?

github-actions[bot] commented 1 year ago

This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] commented 1 year ago

This issue was closed because it has been stalled for 7 days with no activity.

Abhinandan-Kushwaha commented 9 months ago

Any update on this? PR https://github.com/facebook/react-native/pull/22884 was closed citing this broke some internal callsites (https://github.com/facebook/react-native/pull/22884#issuecomment-458765608) @fkgozali @osdnk any plans to resurrect this?