Closed LeeeeeeM closed 6 months ago
Describe the bug preventDefault seems not work when use command + s
command + s
To Reproduce Steps to reproduce the behavior: Just click command + s, it does't work in ^4.5.1 with react v18+, but it works well in 1.5.3 with react v16.8.
Please try and add a codesandbox or stackblitz to reproduce the bug: https://stackblitz.com/edit/react-bn1xfi?file=src%2FApp.js
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context Add any other context about the problem here.
Maybe command should convert to meta
command
meta
command is not a valid key. Use meta instead.
Describe the bug preventDefault seems not work when use
command + s
To Reproduce Steps to reproduce the behavior: Just click
command + s
, it does't work in ^4.5.1 with react v18+, but it works well in 1.5.3 with react v16.8.Please try and add a codesandbox or stackblitz to reproduce the bug: https://stackblitz.com/edit/react-bn1xfi?file=src%2FApp.js
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context Add any other context about the problem here.