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

This commit is contained in:
Aakansha Doshi 2022-05-25 11:39:16 +05:30 committed by GitHub
parent 269fbcc2f3
commit aabcdc20fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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) => {