react-native
react-native copied to clipboard
<ScrollView/>: Add static ViewConfig for maintainVisibleContentPosition
Summary: This prop was introduced for horizontal and vertical scrollview in D40642469.
That diff updated the native view configs only.
Note: This prop does not work for bridgeless mode.
Partial fix: Add the prop to vertical scrollview: D54223244
Full fix: this diff.
Changelog: [Internal]
Reviewed By: javache
Differential Revision: D56854757
This pull request was exported from Phabricator. Differential Revision: D56854757
This pull request was exported from Phabricator. Differential Revision: D56854757
This pull request was exported from Phabricator. Differential Revision: D56854757
| Platform | Engine | Arch | Size (bytes) | Diff |
|---|---|---|---|---|
| android | hermes | arm64-v8a | 19,527,891 | +16 |
| android | hermes | armeabi-v7a | n/a | -- |
| android | hermes | x86 | n/a | -- |
| android | hermes | x86_64 | n/a | -- |
| android | jsc | arm64-v8a | 22,900,316 | -1 |
| android | jsc | armeabi-v7a | n/a | -- |
| android | jsc | x86 | n/a | -- |
| android | jsc | x86_64 | n/a | -- |
Base commit: 185f63b0db418b9c70cb2528a235a9c9b362d9de Branch: main
This pull request was exported from Phabricator. Differential Revision: D56854757
Merged as https://github.com/facebook/react-native/commit/35f1e308e8bb69e046b5ea2d6fcddfa3bc736f69