When a user-provided colors list with duplicated colors is passed in
and is updated, the react renderer gets confused because the hex value
keys collide. Switching to indices to avoid this problem.
From the code, the Twitter picker already has this patched.
When a user-provided colors list with duplicated colors is passed in and is updated, the react renderer gets confused because the hex value keys collide. Switching to indices to avoid this problem.
From the code, the Twitter picker already has this patched.