question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

When dragging to select a color, dragging is disabled.

See original GitHub issue

Chrome version: 96.0.4664.110(Official Build) (64 bit) react-color: 2.19.3

code: export class SketchColor extends React.Component { render() { return <SketchPicker /> } }

When dragging to select a color, dragging is disabled. Repeated operation, the probability of occurrence is still very high.

The site SketchPicker demo does not have this problem. I checked html element and found that saturation-white was not used Which version of react-color is used in the demo?

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:7
  • Comments:5

github_iconTop GitHub Comments

2reactions
breczuscommented, Jan 28, 2022

Hi, i just try to use this package with old react lessons, where teacher uses classes. with functional components, u must do something like that to works:

import React from 'react';
import {ChromePicker} from 'react-colors'

function NewPaletteForm() {
const [background, setBackground] = React.useState('red');
<ChromePicker color={background} onChangeComplete={handleChangeComplete} />

2reactions
NickersWebcommented, Dec 19, 2021

@ernest1010 Had the same issue with latest version. The beta version works. I’m currently using “^3.0.0-beta.3”

Read more comments on GitHub >

github_iconTop Results From Across the Web

blue highlight does not appear when click dragging in desktop ...
blue highlight does not appear when click dragging in desktop. how to enable fix it? · Click on Start · Select Control Panel...
Read more >
How to change the drag selection color on Windows 10
When you select items on Windows 10, whether its items on the desktop, or folders and files inside File Explorer, the selection is ......
Read more >
html - How to disable the drag selection on multi select without ...
To override this color, I used the !important along with the color-name but it was of no use. Can someone please tell me...
Read more >
Fix problem: Drag and drop not working in Windows
When drag and drop does not work, left-click a file in File Explorer and keep the left click mouse button pressed. While the...
Read more >
How to change the drag selection color on ... - AddictiveTips
You will need admin rights to change the drag selection color. It's also a good idea to back up the registry keys you'll...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found