function App() { const touchStart = (e: React.TouchEvent<HTMLInputElement>) => { debugger; console.log("touchStart", e); e.preventDefault(); //do something }; return ( <> <div onTouchStart={touchStart} style={{ width: "100px", height: "100px", backgroundColor: "red" }} ></div> </> ); } export default App; 扩展阅读 React touchMove事件踩坑记录 React中使用touchmove拖动踩坑记录 触摸事件