已开启
fix:修改svg透明方块不显示问题 #742
是马某人啊创建于 2月28日
fix:修改svg透明方块不显示问题 #742
已开启
是马某人啊创建于 2月28日
1 个文件变更+1-0
@@ -774,6 +774,7 @@ export default function() {
774 </Defs>774 </Defs>
775 <G mask="url(#MyMask)">775 <G mask="url(#MyMask)">
776 <Circle cx={50} cy={70} r={65} fill={'#bbb'} />776 <Circle cx={50} cy={70} r={65} fill={'#bbb'} />
777+ <Rect x={0} y={0} width={100} height={100} fill="red" opacity={0.5} />
777 <ForeignObject x={0} y={0} width={100} height={100} clipPath="url(#myClip1)" clipRule='evenodd'>778 <ForeignObject x={0} y={0} width={100} height={100} clipPath="url(#myClip1)" clipRule='evenodd'>
778 <Animated.View style={{ width: 100, height: 100}}>779 <Animated.View style={{ width: 100, height: 100}}>
779 <Text style={{ color: 'blue' }}>Testing</Text>780 <Text style={{ color: 'blue' }}>Testing</Text>