# agent ui: Fix clicks on the notification sometimes not being triggered \(\#44280\) · gitcafe/zed

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

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

Visibility: public

Requested revision: a0848daab44c05f69e6adfcfa0682b84a0bd06d7

Requested commit: a0848daab44c05f69e6adfcfa0682b84a0bd06d7

Commit: a0848daab44c05f69e6adfcfa0682b84a0bd06d7

Tree: 4663019986929348b7cf32af723b4264671c1a60

Author: Danilo Leal

Committer: GitHub

## Message

```
agent ui: Fix clicks on the notification sometimes not being triggered (#44280)

Closes https://github.com/zed-industries/zed/issues/43292

We were seeing clicks on the "View Panel" and "Dismiss" buttons
sometimes not being triggered. I believe this was happening because the
overall parent also had an on_click, which due to this being a popup
window, was causing conflicts with the buttons' on click handlers. This
should hopefully fix that issue.

Release Notes:

- agent: Fixed an issue where clicking on the agent notification buttons
would sometimes not trigger their actions.
```

## Parents

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

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