diff --git a/packages/moti/src/skeleton/skeleton-new.tsx b/packages/moti/src/skeleton/skeleton-new.tsx index 9f460d1..d55efb0 100644 --- a/packages/moti/src/skeleton/skeleton-new.tsx +++ b/packages/moti/src/skeleton/skeleton-new.tsx @@ -74,7 +74,7 @@ export default function Skeleton(props: MotiSkeletonProps) { width: width ?? (children ? '100%' : DEFAULT_SIZE), height: height ?? '100%', overflow: 'hidden', - backgroundColor, + backgroundColor: show ? backgroundColor : undefined, }} onLayout={({ nativeEvent }) => { if (measuredWidthSv.value !== nativeEvent.layout.width) {