# agent_ui: Show permission popover when inline prompt is above the viewport \(\#58081\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 906bff792cb2222098ec6463d6df74bcbcdf4ccb

Requested commit: 906bff792cb2222098ec6463d6df74bcbcdf4ccb

Commit: 906bff792cb2222098ec6463d6df74bcbcdf4ccb

Tree: 28c6f3df4048e59e3e7ef55930236afe196a47ca

Author: Smit Barmase

Committer: GitHub

## Message

```
agent_ui: Show permission popover when inline prompt is above the viewport (#58081)

Follow up to https://github.com/zed-industries/zed/pull/57632, uses
changes from https://github.com/zed-industries/zed/pull/58061

Previously the floating permission popover only appeared when the inline
permission prompt was scrolled below the viewport. It now also appears
when the prompt is scrolled above the viewport, with the scroll button
pointing in the right direction.

Release Notes:

- Fixed the agent permission popover not appearing when the inline
prompt was scrolled above the viewport.
```

## Parents

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

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