# Fix panic in set_scroll_anchor_remote \(\#3987\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 0daa2bf7f4e4a2762e9dc84a473ec353cd36b8a1

Requested commit: 0daa2bf7f4e4a2762e9dc84a473ec353cd36b8a1

Commit: 0daa2bf7f4e4a2762e9dc84a473ec353cd36b8a1

Tree: 6a5a01562b8d9559535088ba129f654a54de8732

Author: Conrad Irwin

Committer: GitHub

## Message

```
Fix panic in set_scroll_anchor_remote (#3987)

If the remote sends us an invalid scroll position, we should not panic.

Release Notes:

- Fix a panic receiving scroll positions out of order
```

## Parents

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

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

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