Skip to content

Commit e937731

Browse files
committed
Stop propagation for context menu
1 parent 598fa99 commit e937731

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

modules/gui/HierarchyPainter.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4111,6 +4111,7 @@ class HierarchyPainter extends BasePainter {
41114111
const title_elem = this.brlayout.setBrowserTitle(this.top_info || (this.is_online ? 'ROOT online server' : 'Read a ROOT file'));
41124112
title_elem?.on('contextmenu', evnt => {
41134113
evnt.preventDefault();
4114+
evnt.stopPropagation();
41144115
createMenu(evnt).then(menu => {
41154116
this.fillSettingsMenu(menu, true);
41164117
menu.show();

0 commit comments

Comments
 (0)