Skip to content

Conversation

@rbravo
Copy link

@rbravo rbravo commented Jun 28, 2018

I had a QRCode on a Modal and a few times when opening the modal the Canvas stayed blank. So I called the draw method on the canvas again for it to repaint after 300ms, and it fixed the bug on android. Now everytime the QRCode shows up it paints (instantly or after 300ms).
Not the best fix in the world but it solves the problem =)

rbravo added 4 commits June 28, 2018 19:15
for fixing android bug where it stayed blank when opening on a modal sometimes
@rbravo rbravo changed the title re-render canvas after 300ms for fix a bug on android where it stayed blank sometimes re-render canvas after 300ms to fix a bug on android where it stayed blank sometimes Jun 28, 2018
@yqbk
Copy link

yqbk commented Sep 24, 2018

Any update on that? For me, it also doesn't work sometimes. But the fix seems to not always be working as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants