docs: prevent touch so that pointermove works in touch devices (#5241)
This commit is contained in:
@ -325,6 +325,7 @@ export default function App() {
|
|||||||
width: `${COMMENT_ICON_DIMENSION}px`,
|
width: `${COMMENT_ICON_DIMENSION}px`,
|
||||||
height: `${COMMENT_ICON_DIMENSION}px`,
|
height: `${COMMENT_ICON_DIMENSION}px`,
|
||||||
cursor: "pointer",
|
cursor: "pointer",
|
||||||
|
touchAction: "none",
|
||||||
}}
|
}}
|
||||||
className="comment-icon"
|
className="comment-icon"
|
||||||
onPointerDown={(event) => {
|
onPointerDown={(event) => {
|
||||||
|
Reference in New Issue
Block a user