# Fix agent panel scroll while editing a past message \(\#30394\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 863d7ccb6d559766af082a2f1d49b84ec34cf53e

Requested commit: 863d7ccb6d559766af082a2f1d49b84ec34cf53e

Commit: 863d7ccb6d559766af082a2f1d49b84ec34cf53e

Tree: 3d4751db5d4f34087e86686907ef08cc0539b60d

Author: Michael Sloan

Committer: GitHub

## Message

```
Fix agent panel scroll while editing a past message (#30394)

This is similar to the `block_mouse_down` method added in #20649 (which
has a very similar motivation), but is more comprehensive in stopping
mouse events. Since I want to cherry-pick this to the releases, keeping
this change just to the agent panel. In a follow-up will replace
existing use of `block_mouse_down` to instead use this.

Release Notes:

- N/A
```

## Parents

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

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