Skip to content

Commit f3e13ff

Browse files
authored
Update platform label for maintainVisibleContentPosition (#3682)
* Update platform label for `maintainVisibleContentPosition` facebook/react-native#35049 added support for this on Android * Update scrollview.md
1 parent 5c49927 commit f3e13ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/scrollview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ Determines when the keyboard should stay visible after a tap.
363363

364364
---
365365

366-
### `maintainVisibleContentPosition` <div class="label ios">iOS</div>
366+
### `maintainVisibleContentPosition`
367367

368368
When set, the scroll view will adjust the scroll position so that the first child that is currently visible and at or beyond `minIndexForVisible` will not change position. This is useful for lists that are loading content in both directions, e.g. a chat thread, where new messages coming in might otherwise cause the scroll position to jump. A value of 0 is common, but other values such as 1 can be used to skip loading spinners or other content that should not maintain position.
369369

0 commit comments

Comments
 (0)