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

The interaction is laggy when turning on "DuckDuckGo Privacy Essentials"(Chrome extension) #1438

Closed
suppermancool opened this issue Oct 22, 2022 · 1 comment

Comments

@suppermancool
Copy link

suppermancool commented Oct 22, 2022

This is the example project https://codesandbox.io/s/test-whiteboard-konva-sospee

You can see this when turning on "DuckDuckGo Privacy Essentials"(Chrome extension) and adjusting the rectangle size in that demo. The interaction is very laggy

@lavrton
Copy link
Member

lavrton commented Oct 24, 2022

DDG extension is monkey-patching ctx.getImageData() function with their own version. And it is very slow, compared to native function.

Relevant:

duckduckgo/duckduckgo-privacy-extension#574
duckduckgo/duckduckgo-privacy-extension#561
duckduckgo/duckduckgo-privacy-extension#560

I don't think I can do much from Konva side, so I am going to close the issue. If anyone have good idea what we can do here, please comment.

@lavrton lavrton closed this as completed Oct 24, 2022
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