Skip to content
This repository has been archived by the owner on Aug 12, 2021. It is now read-only.

Changing container size causes bottom half of sketch to be black #23

Open
peacechen opened this issue Jan 25, 2017 · 1 comment
Open

Comments

@peacechen
Copy link
Contributor

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.

@jgrancher
Copy link
Owner

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 🙂

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants