react-interactable icon indicating copy to clipboard operation
react-interactable copied to clipboard

fix: user-select restore

Open AlexSischin opened this issue 2 years ago • 0 comments

Hi! Thank you for this library. When user-select is set to none, it doesn't get restored. The problem is here:

document.body.userSelect = this.userSelectCache || '';

which should be:

document.body.style.userSelect = this.userSelectCache || '';

AlexSischin avatar Oct 26 '23 12:10 AlexSischin