react-color-gradient-picker icon indicating copy to clipboard operation
react-color-gradient-picker copied to clipboard

Mouse position is calculated in reference to the window

Open gabrielpperini opened this issue 4 years ago • 1 comments

I'm using the component in a draggable fixed div, when the drag occurs in horizontal the mouse position is bad calculated . exemple in: https://codesandbox.io/s/material-demo-forked-0qfek?file=/demo.js

gabrielpperini avatar Apr 22 '21 18:04 gabrielpperini

Hey! Please take a look at my PR on the vue project that fixes this issue. Hope it helps!

https://github.com/arthay/vue-color-gradient-picker/pull/28

rylax avatar Aug 17 '21 19:08 rylax