I have a plain JS code with an event and a “stopPropagation”.
The event is called every time but “stopPropagation” prevents other chained events only when Chrome development console is open.
$('.brC-bsf-aT5-aOt').on('click mousedown keydown keypress', function (e) {
console.log('entered event');
//e.stopImmediatePropagation(); //it's also working only with opened dev console
e.stopPropagation();
});