mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-04-14 16:40:58 -04:00
docs: prevent touch so that pointermove works in touch devices (#5241)
This commit is contained in:
parent
269fbcc2f3
commit
aabcdc20fd
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue