Skip to content

[menu-bar][electron] Fix Android code pairing input width#357

Merged
gabrieldonadel merged 2 commits into
mainfrom
@gabrieldonadel/fix-parining-input-electron
Jun 28, 2026
Merged

[menu-bar][electron] Fix Android code pairing input width#357
gabrieldonadel merged 2 commits into
mainfrom
@gabrieldonadel/fix-parining-input-electron

Conversation

@gabrieldonadel

Copy link
Copy Markdown
Member

Why

Closes #356

How

On Electron the TextInput renders as a DOM , which has an intrinsic minimum width. Flex items don't shrink below their min-content width unless you set minWidth: 0, so your 6 boxes overflow the container and only the centered ones are visible. Native RN has no such intrinsic min-width, so it looks fine there.

Test Plan

Test Android Wifi pairing via code on macOS and Electron

@gabrieldonadel gabrieldonadel merged commit e19bb70 into main Jun 28, 2026
6 of 7 checks passed
@gabrieldonadel gabrieldonadel deleted the @gabrieldonadel/fix-parining-input-electron branch June 28, 2026 19:42
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.

Android code pairing screen look weird

2 participants