# Fix jank in LSP debug log autoscroll \(\#22998\) · gitcafe/zed

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

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

Visibility: public

Requested revision: b65dc8c5666f563057164aaf01f796eaaa43ef3e

Requested commit: b65dc8c5666f563057164aaf01f796eaaa43ef3e

Commit: b65dc8c5666f563057164aaf01f796eaaa43ef3e

Tree: df979b12747099bc35c6144ecc2c89863e3db3ad

Author: Michael Sloan

Committer: GitHub

## Message

```
Fix jank in LSP debug log autoscroll (#22998)

Not sure why scroll was janky with `Autoscroll::newest()`, but this
appears to fix it. Probably better to conditionally do the autoscroll
requests anyway.

Release Notes:

- N/A
```

## Parents

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

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