# gpui: Ensure first tab index is selected on first focus \(\#35247\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 8f952f1b5812abe9fa88b5f60d5df1660c295c1a

Requested commit: 8f952f1b5812abe9fa88b5f60d5df1660c295c1a

Commit: 8f952f1b5812abe9fa88b5f60d5df1660c295c1a

Tree: 912d6d1df42f96146353dbd8904e0801a6a3e267

Author: Finn Evers

Committer: GitHub

## Message

```
gpui: Ensure first tab index is selected on first focus (#35247)

This fixes an issue with tab indices where we would actually focus the
second focus handle on first focus instead of the first one. The test
was updated accordingly.

Release Notes:

- N/A

---------

Co-authored-by: Jason Lee <huacnlee@gmail.com>
```

## Parents

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

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