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

Transformer doesn't work on Brave with Shields enabled #1111

Closed
vincaslt opened this issue May 9, 2021 · 1 comment
Closed

Transformer doesn't work on Brave with Shields enabled #1111

vincaslt opened this issue May 9, 2021 · 1 comment

Comments

@vincaslt
Copy link

vincaslt commented May 9, 2021

Transformer is not working with Brave browser and Shields enabled, it's as if the adblock is preventing onClick on canvas.

You can see it here:
https://konvajs.org/docs/select_and_transform/Transform_Events.html

@lavrton
Copy link
Member

lavrton commented May 10, 2021

Interesting. Looks like brave is blocking getImageData() function which is used for hit detection. I don't think we can do much here from the Konva side.

As a workaround it is possible to write a custom "stage.getIntersection()` function which will use a math for calculating intersections.

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

2 participants