Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Canvas drawing fails possibly because detection is faulty or browser buggy? Please allow user to override. #269

Open
hadjiprocopis opened this issue Mar 2, 2022 · 0 comments

Comments

@hadjiprocopis
Copy link

I use a variant of Firefox with privacy enhancements, I also have ad-blocker and privacy settings (and possibly I changed some settings in config about Canvas, I am not sure).

So, I followed the basic example you provided and all I got was a drawing of vertical blue-black bars. it was not a qr-code. And I have observed the following warning in the console:

Blocked http://.... from extracting canvas data because no user input was detected.

I solved the issue by forcing non-canvas drawing like:

_isSupportCanvas() { return false; }

So, either canvas detection is not right or it does not detect that I disabled it or I have an older/messed up browser. It's most likely not your fault but:

can I suggest that you provide an option for table or canvas rendering? So that users can switch off canvas if anything weird happens.

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

No branches or pull requests

1 participant