docs: prevent touch so that pointermove works in touch devices (#5241)
This commit is contained in:
parent
269fbcc2f3
commit
aabcdc20fd
@ -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) => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user