44be7afff24099200d21e9a7a20eccd085369216
This change ensures that the repository tab context menu is closed when the user right-clicks anywhere in the window. This improves the user experience by preventing the context menu from remaining open unintentionally. - Added functionality to close the context menu on right-click. - Updated event handling for context menu to use capture phase.