Skip to content

fix: collapsing top bar crash#4923

Open
MohamadJaara wants to merge 2 commits into
developfrom
codex/fix-collapsing-topbar-crash
Open

fix: collapsing top bar crash#4923
MohamadJaara wants to merge 2 commits into
developfrom
codex/fix-collapsing-topbar-crash

Conversation

@MohamadJaara
Copy link
Copy Markdown
Member

What changed

  • Handle the top bar drag offset when Compose has not set it yet.
  • Add a small test for that case.

Why

In 4.26.0, a restored scrolled list can ask the bar to start collapsed before the collapsed anchor exists. Compose can return NaN for the offset, and rounding that value crashes.

@MohamadJaara MohamadJaara force-pushed the codex/fix-collapsing-topbar-crash branch from 75ed15f to 0d613e5 Compare June 4, 2026 06:24
@MohamadJaara MohamadJaara requested review from ohassine and saleniuk June 4, 2026 06:24
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Jun 4, 2026

@MohamadJaara MohamadJaara enabled auto-merge June 4, 2026 09:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants