# editor: Preserve expand excerpt down button position \(\#27058\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 2230f3b09d93ec58a10b056a779e6614c739e44c

Requested commit: 2230f3b09d93ec58a10b056a779e6614c739e44c

Commit: 2230f3b09d93ec58a10b056a779e6614c739e44c

Tree: fada287a4a3aa495da19c8cd6b933cc38fb1ec65

Author: Smit Barmase

Committer: GitHub

## Message

```
editor: Preserve expand excerpt down button position (#27058)

When you press the "Expand Excerpt Down" button, the editor will scroll
up by the same amount to keep the button in same place. This allows you
to expand the excerpt rapidly without moving your mouse.

Before:


https://github.com/user-attachments/assets/376350ac-6f21-4ce0-a383-b2c9ca4f45bb

After:


https://github.com/user-attachments/assets/4fba4173-5f01-4220-990a-65820ac40cf5

Release Notes:

- Improved "Expand Excerpt Down" so the button stays in place, allowing
rapid expansion without moving the mouse.
```

## Parents

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

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