# fix\(mobile\): unfolding the Duo shows the sidebar as the split expands · pingdotgg/t3code

[View on GitCafe](https://git.cafe/pingdotgg/t3code/commit/b3ac8cde0a0c1db8804d1d45b6f965d0c2f6ac55)

Repository: [pingdotgg/t3code](https://git.cafe/pingdotgg/t3code)

Visibility: public

Requested revision: b3ac8cde0a0c1db8804d1d45b6f965d0c2f6ac55

Requested commit: b3ac8cde0a0c1db8804d1d45b6f965d0c2f6ac55

Commit: b3ac8cde0a0c1db8804d1d45b6f965d0c2f6ac55

Tree: ea2b91d2514d3fa1b1a49df61a84a0df54d0d338

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
fix(mobile): unfolding the Duo shows the sidebar as the split expands

UIKit applies the split's preferred display mode while a collapsed split
expands, before the new width reaches JS. The collapsed split asked for
secondaryOnly whenever a detail was open, so unfolding first hid the
sidebar and then slid it in once JS saw the wider window.

A collapsed split now carries the display mode the expanded split will
use, so the sidebar arrives with the expansion.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

```

## Parents

- [29bdddb988a07c6aff9ba462f99f607100dced5f](https://git.cafe/pingdotgg/t3code/commit/29bdddb988a07c6aff9ba462f99f607100dced5f?format=markdown)

[Source at this commit](https://git.cafe/pingdotgg/t3code/tree/b3ac8cde0a0c1db8804d1d45b6f965d0c2f6ac55?format=markdown)
