Skip to content

Commit d499e94

Browse files
enagornytroZee
andauthored
Update README.md (#246)
* Update README.md Mention `collapsable` for Android * Update README.md Co-authored-by: troZee <[email protected]> Co-authored-by: troZee <[email protected]>
1 parent 1393b79 commit d499e94

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ const styles = StyleSheet.create({
119119
```
120120

121121
**Attention:** Note that you can only use `View` components as children of `ViewPager` (cf. folder */example*)
122+
. For Android if `View` has own children, set prop `collapsable` to false https://reactnative.dev/docs/view#collapsable, otherwise react-native might remove those children views and and it's children will be rendered as separate pages
122123

123124
## API
124125

0 commit comments

Comments
 (0)