Skip to content

Commit

Permalink
ScrollView: rephrase onContentSizeChange description (facebook#3357)
Browse files Browse the repository at this point in the history
Co-authored-by: Nicola Corti <[email protected]>
  • Loading branch information
Smartech-git and cortinico authored Oct 12, 2022
1 parent 37d85ba commit f6be947
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/scrollview.md
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ Enables nested scrolling for Android API level 21+.

Called when scrollable content view of the ScrollView changes.

Handler function is passed the content width and content height as parameters: `(contentWidth, contentHeight)`
The handler function will recieve two parameters: the content width and content height `(contentWidth, contentHeight)`.

It's implemented using onLayout handler attached to the content container which this ScrollView renders.

Expand Down

0 comments on commit f6be947

Please sign in to comment.