I am working with React 0.14.7, use onKeyPress and event.key works well. handleKeyPress = (event) => { if(event.key === 'Enter'){ console.log('enter press ...
確定! 回上一頁