Skip to content

fix(hub-ui): parse safe-area insets as pixel values - #2

Merged
omridevk merged 5 commits into
fix/dock-safe-area-on-anchorfrom
fix/dock-safe-area-px
Nov 4, 2026
Merged

omridevk merged 5 commits into
fix/dock-safe-area-on-anchorfrom
fix/dock-safe-area-px

Conversation

@omridevk

@omridevk omridevk commented Nov 4, 2026

Copy link
Copy Markdown
Owner

Stacked on the previous PR. The computed insets are strings like "34px", so +value was always NaN and the dock treated every inset as 0. Number.parseFloat reads the pixel value.

Checked in headless Chromium with the CDP safe-area override (top 47, bottom 34): the minimized dock moves up by exactly 34px; without the change it doesn't move.

🤖 Generated with Claude Code

@omridevk
omridevk merged commit 0fb86d4 into fix/dock-safe-area-on-anchor Nov 4, 2026
2 checks passed
@omridevk

omridevk commented Nov 4, 2026

Copy link
Copy Markdown
Owner Author

Folded into devframes#483.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant