Skip to content

Commit

Permalink
chore(web): restore webkitUserSelect
Browse files Browse the repository at this point in the history
  • Loading branch information
jahorton committed May 29, 2024
1 parent 85a5293 commit 4e80e63
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions web/src/engine/dom-utils/src/createUnselectableElement.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@ export default function createUnselectableElement<E extends "p"|"style"|"script"
const e = document.createElement<E>(nodeName);

e.style.userSelect="none";
e.style.webkitUserSelect = "none";
return e;
}

0 comments on commit 4e80e63

Please sign in to comment.