From fddfe5b42a804b616b5301de29c4547e8a6c053f Mon Sep 17 00:00:00 2001 From: Website Deployment Script Date: Thu, 8 Dec 2016 07:11:30 +0000 Subject: [PATCH] Updated docs for next --- releases/next/docs/scrollview.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/releases/next/docs/scrollview.html b/releases/next/docs/scrollview.html index cc0fe880cb3..8a675e2cc86 100644 --- a/releases/next/docs/scrollview.html +++ b/releases/next/docs/scrollview.html @@ -32,10 +32,10 @@ instead of vertically in a column. The default value is false.

keyboardShouldPersistTaps bool #

When false, tapping outside of the focused text input when the keyboard -is up dismisses the keyboard. When true, the keyboard will not dismiss -automatically, and the scroll view will not catch taps, but children of -the scroll view can catch taps. The default value is false.

onContentSizeChange function #

Called when scrollable content view of the ScrollView changes.

Handler function is passed the content width and content height as parameters: (contentWidth, contentHeight)

It's implemented using onLayout handler attached to the content container + On android this is not supported and it will have the same behavior as 'none'.

keyboardShouldPersistTaps enum('always', 'never', 'handled', false, true) #

Determines when the keyboard should stay visible after a tap.

  • 'never' (the default), tapping outside of the focused text input when the keyboard +is up dismisses the keyboard. When this happens, children won't receive the tap.
  • 'always', the keyboard will not dismiss automatically, and the scroll view will not +catch taps, but children of the scroll view can catch taps.
  • 'handled', the keyboard will not dismiss automatically when the tap was handled by +a children, (or captured by an ancestor).
  • false, deprecated, use 'never' instead
  • true, deprecated, use 'always' instead

onContentSizeChange function #

Called when scrollable content view of the ScrollView changes.

Handler function is passed the content width and content height as parameters: (contentWidth, contentHeight)

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

onScroll function #

Fires at most once per frame during scrolling. The frequency of the events can be controlled using the scrollEventThrottle prop.

pagingEnabled bool #

When true, the scroll view stops on multiples of the scroll view's size when scrolling. This can be used for horizontal pagination. The default