Skip to content

Commit b58deb4

Browse files
authored
chore: add known issues section to readme (#298)
1 parent 195bed7 commit b58deb4

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,16 @@ To fix formatting errors, run the following:
175175
yarn lint --fix
176176
```
177177

178+
## Known Issues
179+
180+
- `flex:1` does not work for child views, please use `width:”100%”, height:”100%” ` [instead](https://github.com/react-native-community/react-native-viewpager/issues/186#issuecomment-675320732)
181+
182+
- [iOS]: In case of `UIViewControllerHierarchyInconsistency` error, please use below fix:
183+
184+
```
185+
requestAnimationFrame(() => refViewPager.current?.setPage(index));
186+
```
187+
178188
## Preview
179189

180190
### Android

0 commit comments

Comments
 (0)