Skip to content

Commit 6942498

Browse files
nzaytsevsergeibbb
authored andcommitted
Hides graph hover on context menu
1 parent ad1c119 commit 6942498

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
1010

1111
- Adds a _Contributors_ section to comparison results in the views
1212

13+
### Fixed
14+
15+
- Fixes [#3888](https://github.com/gitkraken/vscode-gitlens/issues/#3888) - Graph hover should disappear when right-clicking a row
16+
1317
## [16.1.1] - 2024-12-20
1418

1519
### Added

src/webviews/apps/plus/graph/GraphWrapper.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -899,6 +899,7 @@ export function GraphWrapper({
899899

900900
const handleRowContextMenu = (_event: React.MouseEvent<any>, graphZoneType: GraphZoneType, graphRow: GraphRow) => {
901901
if (graphZoneType === refZone) return;
902+
hover.current?.hide();
902903

903904
// If the row is in the current selection, use the typed selection context, otherwise clear it
904905
const newSelectionContext = selectionContexts?.selectedShas.has(graphRow.sha)

0 commit comments

Comments
 (0)