react-eyedrop icon indicating copy to clipboard operation
react-eyedrop copied to clipboard

Using in webview always return white as the color

Open AdamLee321 opened this issue 2 years ago • 1 comments

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.

AdamLee321 avatar Jan 18 '23 16:01 AdamLee321

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

jodhman avatar Mar 12 '23 16:03 jodhman