full-stack-template icon indicating copy to clipboard operation
full-stack-template copied to clipboard

This won't work on non macos systems

Open pakettiale opened this issue 2 years ago • 1 comments

https://github.com/TaitoUnited/full-stack-template/blob/c071d951aae7fba4210d1aae23d595c93ca663f2/client/src/components/feature-flags/FeatureFlagManager.tsx#L21

At least firefox on linux reports Control instead of Meta

pakettiale avatar Aug 24 '23 12:08 pakettiale

https://github.com/TaitoUnited/full-stack-template/blob/c071d951aae7fba4210d1aae23d595c93ca663f2/client/src/utils/observe.ts#L63C16-L63C16

instead of this we can check altKey, ctrlKey, metaKey fields from the key event.

pakettiale avatar Aug 24 '23 12:08 pakettiale