jgrancher/react-native-sketch

Changing container size causes bottom half of sketch to be black

peacechen opened this issue · 1 comments

Sketch works well initially in both landscape and portrait. However if the container size changes (e.g. display rotation), anything drawn on it is stretched, then when more is drawn on the sketch, the bottom half turns black. This can happen when the container is set to flex:1, even if the Sketch component has fixed width & height.

Hey @peacechen ! This is something that I completely neglected, as I generally used my phone locked on portrait mode (same story about the apps I worked on, no landscape mode).
I'll try to investigate it soon-ish, but in the meantime, if you've got any clue about it, feel free to make a PR 🙂