# editor: Fix autoscroll flickering regression \(\#24758\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 522b8d662cc1adc02ac97b686e902d5f55930381

Requested commit: 522b8d662cc1adc02ac97b686e902d5f55930381

Commit: 522b8d662cc1adc02ac97b686e902d5f55930381

Tree: 8145d9a02ec606cf8e1eb7effe2aa99c4c5d08e3

Author: smit

Committer: GitHub

## Message

```
editor: Fix autoscroll flickering regression (#24758)

This PR fixes autoscroll flickering issue caused by recent
[#24735](https://github.com/zed-industries/zed/pull/24735) which fixes
soft wrap scroll issues. No release notes, as this was few hours ago.

Adding vertical scrollbar width to viewport width, so that autoscroll
function don't try to that much pixels extra.

Release Notes:

- N/A
```

## Parents

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

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