Keyboard shortcuts: this is how they are translated between Windows and Mac
Programaste un atajo con Ctrl+S y en Mac tu usuario presiona Cmd+S sin que pase nada: ese bug silencioso aparece en casi cualquier editor web que no distingue entre plataformas. Los atajos de teclado no son solo una preferencia de cada sistema operativo, sino un conjunto de nombres, teclas físicas y propiedades de evento que cambian entre Windows, macOS y Linux, y que tu código tiene que manejar…
A silent bug occurs in web editors that don't distinguish between platforms when users press keyboard shortcuts. On Mac, pressing Cmd+S doesn't work, while on Windows, Ctrl+S works fine. The issue arises from differences in keyboard shortcuts between Windows, macOS, and Linux. A guide explains how to handle these differences in JavaScript, including the use of metaKey and ctrlKey properties. Keyboard events are affected by platform-specific modifier keys, such as Cmd on Mac and Ctrl on Windows.
Summarised by urgent.news, not translated. Machine-written; may contain errors — check the original.
Source: dev.to