expo-pixi
expo-pixi copied to clipboard
ExpoPixi.Sketch drawing over the edges cause incorrect drawing on android
Hi, There is a bug when drawing and reaching the edges(every edge except the bottom edge) -the drawing goes crazy. For example, in the screenshot below I tried to draw a line form right to left but when I got near the left edge the line automatically was drawn to bottom edge.
Tested on Lg g4(Marshmallow) and galaxy s7 (nougat), in IOS everything works.
The code:
return (
<View style={{ flex: 1, justifyContent: 'center', alignItems: 'center' , backgroundColor: 'red'}}>
<ExpoPixi.Sketch
style={[styles.signature, { backgroundColor: 'white' }]}
strokeColor={'black'}
strokeWidth={6}
transparent={false}
/>
</View>
);
I am having exactly the same issue on Android while iOS is fine. Does anyone have a solution or workaround?
I also have the same issue on Android...
I also have the same issue on Android... Does anyone have a solution or workaround?