Fix ViewShot dropping frames and stickers on Android by grouping all layers into a single composited parent View
This commit is contained in:
@@ -19,6 +19,7 @@ export default function FrameOverlay({ frameAsset }: FrameOverlayProps) {
|
||||
source={frameAsset}
|
||||
style={styles.frameImage}
|
||||
resizeMode="cover"
|
||||
fadeDuration={0}
|
||||
/>
|
||||
</View>
|
||||
);
|
||||
|
||||
@@ -445,6 +445,7 @@ export default function PreviewScreen({
|
||||
style={styles.viewShotContainer}
|
||||
collapsable={false}
|
||||
>
|
||||
<View style={StyleSheet.absoluteFill} collapsable={false}>
|
||||
{renderCollageView()}
|
||||
|
||||
{/* Frame Overlay */}
|
||||
@@ -470,6 +471,7 @@ export default function PreviewScreen({
|
||||
onUpdate={handleStickerUpdate}
|
||||
/>
|
||||
))}
|
||||
</View>
|
||||
</ViewShot>
|
||||
|
||||
{/* Sticker Tray (outside ViewShot — not captured) */}
|
||||
|
||||
Reference in New Issue
Block a user