To work around https://github.com/atom/atom/issues/20034, replace atom's context menus with an HTML/CSS version so that electron menus are never invoked.
You can install this from within Atom, via the normal package installation process ("install" menu under settings).
This package monkey-patches part of
atom.contextMenu to not use
electron.remote.Menu and instead create an HTML/CSS menu via the
This is only a workaround to the real problem, which lies within electron. Once electron gets upgraded, atom should be able to update to fix this. As of atom
0.41.0, this is not yet fixed.
HTML context menus have some downsides, such as being unable to go outside the window and looking different from native context menus. This package vaguely styles the menus similarly to native.
This only gets applied on darwin and for versions
19.0.0 (macOS 10.15 Catalina) and above.
apm link . from the root folder to have atom symlink it into
~/.atom/packages so that it gets loaded the next time you reload atom.
See the CONTRIBUTING file for how to help out.
This project is MIT licensed, as found in the LICENSE file.
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.