casesandberg / casesandberg/react-color

Assign the `id` and pass the `event` into the Picker's `onChange`

Open
#852 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

Hello,
I am using `SketchPicker` inside a component that is used several times and that in the various uses I differentiate through `id`.

The problem is that I can't assign the `id` and pass the `event` in the Picker's `onChange`... what can I do?

Furthermore, is it possible not to have inline css but to have it in a dedicated style sheet?

Thankss

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the SketchPicker onChange entry point and how its inline styles are exposed. Determine the expected API for assigning an id, forwarding an event, and supporting a dedicated stylesheet; done means these use cases are documented and verified without breaking existing picker behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.