Skip to content

Conversation

@AlexSischin
Copy link

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 || '';

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant