Mouse right button is not emitting mouseUp event when context menu package is used (the context menu is not showing)
import contextMenu from 'electron-context-menu';
contextMenu({
showCopyImage: false,
showLookUpSelection: false,
showSearchWithGoogle: false,
showCopyLink: false
});
...
mainWindow.webContents.addListener('input-event', (_, event) => {
if (event.type.includes('mouse') && !['mouseMove', 'mouseLeave', 'mouseEnter'].includes(event.type)) {
console.log(event)
}
})