Ver código fonte

Update README.md

Gaëtan Renaudeau 7 anos atrás
pai
commit
22c3d91517
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1
    0
      README.md

+ 1
- 0
README.md Ver arquivo

@@ -86,6 +86,7 @@ Snapshots are not guaranteed to be pixel perfect. It also depends on the platfor
86 86
 
87 87
 - Support of special components like Video / GL views remains untested.
88 88
 - It's preferable to **use a background color on the view you rasterize** to avoid transparent pixels and potential weirdness that some border appear around texts.
89
+- on Android, you need to make sure `collapsable` to `false` if you want to snapshot a **View**. Otherwise that view won't reflect any UI View. ([found by @gaguirre](https://github.com/gre/react-native-view-shot/issues/7#issuecomment-245302844))
89 90
 
90 91
 ## Thanks
91 92