kevinstumpf / react-native-signature-pad

React Native wrapper around szimek's Canvas based Signature Pad
MIT License
277 stars 197 forks source link

Ignores size (width/height) often, not always. In output image. #33

Closed enthal closed 5 years ago

enthal commented 6 years ago

The pad Ignores size (width/height) sometimes, seemingly randomly. Sometimes it recognizes the given size in its canvas and underlying output. More often it chooses for a canvas a large square the extends down and right (same origin at upper left). In this case, one can draw outside the given bounds: clipped in the Pad itself, but visible in the output image. The output image is then way too big and the wrong proportions.

Makes no difference if size is from parent Component (flex:1 on the pad's style) or set directly with width/height.

Has anybody seen this or found a workaround?

This is a deal breaker for me. :(

markhomoki commented 6 years ago

Having the same issue, could you find a solution for this?

timt commented 5 years ago

Is this still an issue?

Please provide more detail including:

Code fragment showing your implementation.

timt commented 5 years ago

Close due to inactivity