# editor: Fix scroll_beyond_last_line off for short files \(\#13571\) · gitcafe/zed

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

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

Visibility: public

Requested revision: cb2d05b78f2574f3904d1f8b9ba1db7e64ba8f97

Requested commit: cb2d05b78f2574f3904d1f8b9ba1db7e64ba8f97

Commit: cb2d05b78f2574f3904d1f8b9ba1db7e64ba8f97

Tree: 151445923efd65bf9b1b3b65706efab33e23da88

Author: Evan Liu

Committer: GitHub

## Message

```
editor: Fix scroll_beyond_last_line off for short files (#13571)

Release Notes:

- Fixed bug with `scroll_beyond_last_line: off` for short files
([#13559](https://github.com/zed-industries/zed/issues/13559)).
```

## Parents

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

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