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

Replace pageX and pageY with clientX and clientY to fix scroll issue

Open rylax opened this issue 4 years ago • 1 comments

Fixing issue #11 which caused a bug that whenever a user scrolls the color picker position got messed up.

The reason for this issue was pageX and pageY being used instead of clientX and clientY. You can read more about it here: https://stackoverflow.com/questions/6073505/what-is-the-difference-between-screenx-y-clientx-y-and-pagex-y

rylax avatar Aug 17 '21 18:08 rylax

Any update on this, looks like it will fix the issue?

deanmarcussen avatar Oct 03 '21 11:10 deanmarcussen