Skip to content

fix: user-select restore#19

Open
AlexSischin wants to merge 1 commit intoarqex:masterfrom
AlexSischin:fix/user-select-restore
Open

fix: user-select restore#19
AlexSischin wants to merge 1 commit intoarqex:masterfrom
AlexSischin:fix/user-select-restore

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