You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/docs/components/scrollview.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ next: components/text
9
9
10
10
Like a View, this component is a container for other components. However, it supports scrolling (panning) and zooming so it is possible to view larger contents.
11
11
12
-
ScrollViews must have a bounded height (or width, if it scrolls horizontally) since its children are of unbounded height (or width). To bound the dimensions of a ScrollView, either set the height/width directly or make sure that its parent's height/width is bounded.
12
+
ScrollViews must have a bounded height (or width, if it scrolls horizontally) since its children are of unbounded height (or width). To bound the dimensions of a ScrollView, either set the height/width directly or make sure that its parent's height/width is bounded.
13
13
14
14
## Props
15
15
```javascript
@@ -27,7 +27,8 @@ justifyEnd: boolean = false;
27
27
// When the user scrolls the view, how should the on-screen keyboard react?
28
28
keyboardDismissMode:'none'|'interactive'|'on-drag'; // Native only
29
29
30
-
// Should the on-screen keyboard remain visible when the user taps the scroll view?
30
+
// Should the on-screen keyboard remain visible when the user taps
31
+
// the scroll view?
31
32
keyboardShouldPersistTaps: boolean =false; // Native only
Copy file name to clipboardExpand all lines: docs/docs/components/textinput.md
+12-6Lines changed: 12 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,8 @@ next: components/view
9
9
10
10
This component provides basic text input capabilities.
11
11
12
+
It can be used in one of two modes. In the first mode, the contents of the text input are static and are specified by the `value` prop. Any attempt to modify the value will result in `onChangeText`, which allows the owning component to re-render with an updated `value`. In the second mode, `value` is unspecified, and the text input value is allowed to be modified as long as it remains mounted. In this mode, the caller can specify an optional `defaultValue` prop to specify the initial value.
13
+
12
14
## Props
13
15
In addition to the [common accessibility props](/reactxp/docs/accessibility.html), the following props are supported.
0 commit comments