# workspace: Remove custom-positioned modal placement logic \(\#46047\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 8d810db4d50f7f317c3d91c5e69be9f14fad07b8

Requested commit: 8d810db4d50f7f317c3d91c5e69be9f14fad07b8

Commit: 8d810db4d50f7f317c3d91c5e69be9f14fad07b8

Tree: 736bc61699d6dab92a9571b997ff48216867e7a7

Author: Danilo Leal

Committer: GitHub

## Message

```
workspace: Remove custom-positioned modal placement logic (#46047)

This PR essentially removes the logic I introduced in
https://github.com/zed-industries/zed/pull/45361 to position workspace
modals based on the pointer click coordinates. All of this code has
become unnecessary given in
https://github.com/zed-industries/zed/pull/45924 we made the remote,
project, and branch modals use popovers when triggered with a pointer,
which already handle all the anchored positioning based on the trigger
(much better).

Release Notes:

- N/A
```

## Parents

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

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