You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
maybe the capture() method would also wait the View has received its first onLayout, that would simplify some usecases where you want to snapshot after the first ref cb settled
just the reason we (most of the time!) needs to do
collapsable={false}
on Android, and sometimes even needs to wrap a parent<View collapsable={false}>
(e.g. WebView) makes me think maybe we should hide that from the lib user ( note https://github.com/gre/react-native-view-shot#specific-to-android-implementation ).Maybe the library should (only?) be available through a wrapper Component.
<Snapshotable ref="snap"> ... </Snapshotable>
snap.capture().then(...
WDYT?
one downside is introducing a
<View>
wrapping changes the hierarchy.The text was updated successfully, but these errors were encountered: