Browse Source

docs: prevent touch so that pointermove works in touch devices (#5241)

pull/5247/head
Aakansha Doshi 4 years ago committed by GitHub
parent
commit
aabcdc20fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      src/packages/excalidraw/example/App.js

1
src/packages/excalidraw/example/App.js

@ -325,6 +325,7 @@ export default function App() { @@ -325,6 +325,7 @@ export default function App() {
width: `${COMMENT_ICON_DIMENSION}px`,
height: `${COMMENT_ICON_DIMENSION}px`,
cursor: "pointer",
touchAction: "none",
}}
className="comment-icon"
onPointerDown={(event) => {

Loading…
Cancel
Save