casesandberg / casesandberg/react-color

Saturation mousemove listener not working when picker in shadow dom

Open
#860 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
12.3k
Forks
920
PR merge metrics
No merged PRs in 30d

Description

When rendering Saturation component in shadow dom, mousemove event won't emit.
[This commit](https://github.com/casesandberg/react-color/commit/1cd7a7e2b67e521cedade4420c921f4bbc752dd0) caused an issue.

Contributor guide

Open the contributing guide

Research direction

Start by inspecting the Saturation component and the linked commit that introduced the regression. Reproduce the component inside a shadow DOM and trace the mousemove handling; the issue is done when mousemove events emit there as they do outside shadow DOM.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.