MCPcopy
hub / github.com/APSL/react-native-keyboard-aware-scroll-view / KeyboardAwareProps

Interface KeyboardAwareProps

index.d.ts:13–144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11} from 'react-native'
12
13interface KeyboardAwareProps {
14 /**
15 * Catches the reference of the component.
16 *
17 *
18 * @type {function}
19 * @memberof KeyboardAwareProps
20 */
21 innerRef?: (ref: JSX.Element) => void
22 /**
23 * Adds an extra offset that represents the TabBarIOS height.
24 *
25 * Default is false
26 * @type {boolean}
27 * @memberof KeyboardAwareProps
28 */
29 viewIsInsideTabBar?: boolean
30
31 /**
32 * Coordinates that will be used to reset the scroll when the keyboard hides.
33 *
34 * @type {{
35 * x: number,
36 * y: number
37 * }}
38 * @memberof KeyboardAwareProps
39 */
40 resetScrollToCoords?: {
41 x: number
42 y: number
43 }
44
45 /**
46 * Lets the user enable or disable automatic resetScrollToCoords
47 *
48 * @type {boolean}
49 * @memberof KeyboardAwareProps
50 */
51 enableResetScrollToCoords?: boolean
52
53 /**
54 * When focus in TextInput will scroll the position
55 *
56 * Default is true
57 *
58 * @type {boolean}
59 * @memberof KeyboardAwareProps
60 */
61
62 enableAutomaticScroll?: boolean
63 /**
64 * Enables keyboard aware settings for Android
65 *
66 * Default is false
67 *
68 * @type {boolean}
69 * @memberof KeyboardAwareProps
70 */

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…