浏览代码

Update README.md

Gaëtan Renaudeau 8 年前
父节点
当前提交
22c3d91517
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1
    0
      README.md

+ 1
- 0
README.md 查看文件

@@ -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