# project_panel: Fix right-click target for folded directories \(\#45876\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/2c7bfec29786e031494262966a8ba211b244f30e)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 2c7bfec29786e031494262966a8ba211b244f30e

Requested commit: 2c7bfec29786e031494262966a8ba211b244f30e

Commit: 2c7bfec29786e031494262966a8ba211b244f30e

Tree: 61ec09dd632aa0b7ab94218ec726e5e94ee537ff

Author: André Eriksson

Committer: GitHub

## Message

```
project_panel: Fix right-click target for folded directories (#45876)

Closes #45635

Release Notes:

- Fixed context menu in project panel targeting the wrong folder when
right-clicking on folded directory paths.
- Added hover feedback to folded path folders to indicate which folder
will be targeted.

Recording:


https://github.com/user-attachments/assets/3209921a-b791-4eef-8eb7-1b5dc68374da

---------

Co-authored-by: Smit Barmase <heysmitbarmase@gmail.com>
```

## Parents

- [fb06aa94a114e6650a08b9a80ba3afa41783d80f](https://git.cafe/gitcafe/zed/commit/fb06aa94a114e6650a08b9a80ba3afa41783d80f?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/2c7bfec29786e031494262966a8ba211b244f30e?format=markdown)
