handsontable icon indicating copy to clipboard operation
handsontable copied to clipboard

The `cmd + z´ not working on German keyboard

Open rebekkaorth opened this issue 1 year ago • 5 comments

Describe the bug

When using e.g. a German keyboard layout, the shortcut cmd + z doesn't work. To undo the last action you have to instead use cmd + y.

This is because on a German keyboard the Y-key is where the Z-key is on a English or American keyboard layout.

Video/Screenshots

No response

Provide a link to the demo with the bug reproduction

No response

Handsontable version

14.1

Framework version

No response

Your environment

Chrome

rebekkaorth avatar Feb 20 '24 13:02 rebekkaorth

Hi @rebekkaorth

Thank you for reporting this. Currently, we only support QWERTY keyboard layout, and the undo action is hardcoded to the Z keycode. For now, the only solution I can propose would be to change the OS keyboard layout to English/American.

If anything changes in that matter and we introduce support for other keyboard layouts, I will update this thread.

adrianszymanski89 avatar Feb 20 '24 14:02 adrianszymanski89

Since V14, the French layout (AZERTY) is not supported either, which is problematic.

This change is not mentioned in the release note, but I think it's an important point.

Hopefully, as many layouts as possible will be supported in the future. Because it's an important feature. Non-QWERTY users shouldn't be deprived of this feature.

PierreB40 avatar Mar 20 '24 11:03 PierreB40

Hi @PierreB40

Thank you for pointing that out. We will discuss this problem, and I'll let you know if there are plans for the fix in the near future.

adrianszymanski89 avatar Mar 20 '24 12:03 adrianszymanski89

The shortcuts Ctrl+Z and Ctrl+Y on German keyboard work perfectly in version 13.1: https://jsfiddle.net/dfgov8hb/1/

and not working since version 14: https://jsfiddle.net/dfgov8hb/2/

Are there any updates on this issue? For us it is also important, especially since it has already worked in the previous version.

OlgaIOn avatar May 07 '24 12:05 OlgaIOn

Hi @OlgaIOn

It hasn't been put on our roadmap yet. We will update you on this issue as soon as it's solved.

adrianszymanski89 avatar May 07 '24 14:05 adrianszymanski89