# Pane tabs: Scroll entire new tab into view \(\#36827\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 49335d54be1b90e22a9e889eeaae86e12b93fe70

Requested commit: 49335d54be1b90e22a9e889eeaae86e12b93fe70

Commit: 49335d54be1b90e22a9e889eeaae86e12b93fe70

Tree: 194cc1703a5276ccdcbe0d8f390b04cf87f731a7

Author: hrou0003

Committer: GitHub

## Message

```
Pane tabs: Scroll entire new tab into view (#36827)

The state of the child bounds is not up-to-date when `scroll_to_item`
gets triggered, causing the new tab to not scroll completely into view.

Closes #36317 

Release Notes:

- Fix an issue where a new tab is only partially visible on creation.
```

## Parents

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

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