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

Using in webview always return white as the color #63

Open
AdamLee321 opened this issue Jan 18, 2023 · 1 comment
Open

Using in webview always return white as the color #63

AdamLee321 opened this issue Jan 18, 2023 · 1 comment

Comments

@AdamLee321
Copy link

AdamLee321 commented Jan 18, 2023

I am using this library in my react app and all is working as expected, but when I open the web app in a web view in my React Native project the color returned is always white. However, when I run the web app in the mobile browser the color is returned correctly. Would you be able to provide some insight into this issue?

EDIT: Is there anyway I could get the x and y coordinates of the selected pixels? That could help debug the issue.

@jodhman
Copy link
Owner

jodhman commented Mar 12, 2023

Hmm... it could be related to how the element is made into a canvas, and how that might differ for a React Native app, but just spitballing here 🤔 I'm very pressed on time these days, and there is much I want done for this library. I will try to find some time to debug this

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