# gpui: Rework overlay element \(\#9911\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 77f1cc95b86266e90fd879d384f21bd3037cf484

Requested commit: 77f1cc95b86266e90fd879d384f21bd3037cf484

Commit: 77f1cc95b86266e90fd879d384f21bd3037cf484

Tree: 352be4ae0321966bb0fe3358db0ac96e4c5e3b68

Author: Bennet Bo Fenner

Committer: GitHub

## Message

```
gpui: Rework overlay element (#9911)

There was a problem using deferred draws with `overlay` and tooltips at
the same time.

The `overlay` element was removed and was split up into two separate
elements
- `deferred`
- `anchored` - Mimics the `overlay` behavior but does not render its
children as deferred

`tooltip_container` does not defer its drawing anymore and only uses
`anchored`.

/cc @as-cii 


Release Notes:
- Fixed tooltip for the recent projects popover not showing anymore

---------

Co-authored-by: Antonio <antonio@zed.dev>
```

## Parents

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

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