xiaokaike / vue-color

:art: Vue Color Pickers for Sketch, Photoshop, Chrome & more http://vue-color.surge.sh
https://xiaokaike.github.io/vue-color/
MIT License
2.53k stars 356 forks source link

When the plugin is introduced, the coordinates of the mouse and the color block are shifted by n pixels #259

Open MaLunan opened 10 months ago

MaLunan commented 10 months ago

After the introduction of the plug-in, the coordinate points of the mouse and the color block will be offset by n pixels, the framework vue2.0 UI framework ANTD 1.7.8, I do not know whether it is a conflict with the framework, or a style conflict

MaLunan commented 10 months ago

Found the reason, the body element set zoom 0.8, will affect the mouse position information