expo-pixi icon indicating copy to clipboard operation
expo-pixi copied to clipboard

ExpoPixi.Sketch drawing over the edges cause incorrect drawing on android

Open eitanfr opened this issue 6 years ago • 3 comments

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.

whatsapp image 2018-06-04 at 14 29 20

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>
    );

eitanfr avatar Jun 04 '18 11:06 eitanfr

I am having exactly the same issue on Android while iOS is fine. Does anyone have a solution or workaround?

alexyangjie avatar Mar 13 '19 05:03 alexyangjie

I also have the same issue on Android...

takuya0206 avatar Nov 17 '19 13:11 takuya0206

I also have the same issue on Android... Does anyone have a solution or workaround?

Kirysha avatar Sep 17 '21 13:09 Kirysha