mapbox / react-colorpickr

A themeable colorpicker with HSL and RGB support for React

Home Page:https://labs.mapbox.com/react-colorpickr/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Drag events are generally "sticky" and unreliable

ajashton opened this issue · comments

Using Chrome 45 on Ubuntu.

Examples:

  • No matter what I do I can't drag the white circle all the way to the left or bottom of the square. It always gets stuck at a saturation or value of about 1-30.
  • The hue slider will get stuck at 345 or 350 and I can't drag it any further to the right
  • If I'm dragging the hue slider and my cursor leaves the very narrow rainbow track, the slider gets stuck in drag mode and will follow my cursor even after mouseup. I have to click again on the hue slider to stop it.

Are you replicating this on the demo page? Not seeing any of this behaviour there.

Hm no that demo page works fine for me. Could be something specific to the implementation in Mapbox Studio.

Going to close this. the third issue should be addressed and if there's any issues that aren't reproducible from the demo - let's raise them downstream.