Skip to content

Unable to drag the pointer #197

Open
@dnorrstrand

Description

@dnorrstrand

Hi,

Thanks for the great library!

For some reason, I cannot get the pointer to work by dragging within the HexColorPicker. It does react to mouse clicks and jumps to pointer position fine, but when I try to click and drag it seems to be stuck in place. The component is added to the project as per the official examples from codesandbox. The color picker has a position "fixed" since I need to position it exactly where the mouse pointer is when clicked, and it is called from within a draggable modal.

Any ideas how to fix this or where to look for bugs?

Screen.Recording.2022-11-06.at.20.39.29.mov

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions