Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to drag the pointer #197

Open
dnorrstrand opened this issue Nov 6, 2022 · 1 comment
Open

Unable to drag the pointer #197

dnorrstrand opened this issue Nov 6, 2022 · 1 comment

Comments

@dnorrstrand
Copy link

dnorrstrand commented Nov 6, 2022

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
@mustaquenadim
Copy link

Could you please share your code?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants