diff --git a/remix-debugger/src/ui/TreeView.js b/remix-debugger/src/ui/TreeView.js index 2c7e189546..5485a7bb81 100644 --- a/remix-debugger/src/ui/TreeView.js +++ b/remix-debugger/src/ui/TreeView.js @@ -92,6 +92,9 @@ class TreeView { label.onclick = function () { self.expand(keyPath) } + label.oncontextmenu = function (event) { + self.event.trigger('nodeRightClick', [key, data, label, event]) + } li.appendChild(list) } else { caret.style.visibility = 'hidden'