# pane: When opening a buffer, actually scroll to the selected tab\. Previously it might've reused a shared state\. · gitcafe/zed

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

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

Visibility: public

Requested revision: f0f0b4705876e0b7c5692bfcb4895df8593feb52

Requested commit: f0f0b4705876e0b7c5692bfcb4895df8593feb52

Commit: f0f0b4705876e0b7c5692bfcb4895df8593feb52

Tree: e0e06561ee49596d1287ffec460d6e79269bb427

Author: Kirill Bulatov

Committer: Kirill Bulatov

## Message

```
pane: When opening a buffer, actually scroll to the selected tab. Previously it might've reused a shared state.

Deals with https://github.com/zed-industries/community/issues/2262 also fixes influencer's feedback.

Co-Authored-By: Piotr <piotr@zed.dev>

```

## Parents

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

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