mantine icon indicating copy to clipboard operation
mantine copied to clipboard

Hotkey digits not working

Open AykutSarac opened this issue 5 months ago • 8 comments

Dependencies check up

  • [x] I have verified that I use latest version of all @mantine/* packages

What version of @mantine/* packages do you have in package.json?

7.17.16

What package has an issue?

@mantine/hooks

What framework do you use?

Next.js

In which browsers you can reproduce the issue?

None

Describe the bug

Digit[1-9] for hotkey definition are not working since 7.17.6 This commit could be the cause 099b3f51cd82ec0a538b0bebab440fe9c772bd8b

e.g:

  useHotkeys([
    ["shift+Digit1", zoomFit],
    ["shift+Digit2", focusFirstNode]
  ])
```js

The issue persists with the latest package, 8.0.0.

### If possible, include a link to a codesandbox with a minimal reproduction

_No response_

### Possible fix

_No response_

### Self-service

- [ ] I would be willing to implement a fix for this issue

AykutSarac avatar May 06 '25 07:05 AykutSarac