Skip to content

Set max font scaling in LogBox to avoid layout breaking#56675

Open
pchalupa wants to merge 6 commits intofacebook:mainfrom
pchalupa:set-log-box-max-font-size
Open

Set max font scaling in LogBox to avoid layout breaking#56675
pchalupa wants to merge 6 commits intofacebook:mainfrom
pchalupa:set-log-box-max-font-size

Conversation

@pchalupa
Copy link
Copy Markdown
Contributor

@pchalupa pchalupa commented May 4, 2026

Summary:

Fixes LogBox layout while using accessibility font multiplier. I was aiming for the highest possible value without breaking the UI. Max scales are mostly set to 1.5 and less when needed.

Simulator Screenshot - iPhone 17 Pro - 2026-05-04 at 19 39 35 Simulator Screenshot - iPhone 17 Pro - 2026-05-04 at 19 39 47 Simulator Screenshot - iPhone 17 Pro - 2026-05-04 at 19 39 40 Simulator Screenshot - iPhone 17 Pro - 2026-05-04 at 19 41 01
Simulator.Screen.Recording.-.iPhone.17.Pro.-.2026-05-04.at.19.41.23.mov

Changelog:

[GENERAL] [FIXED] - Set max font scaling in LogBox to avoid layout breaking

Test Plan:

  1. Set the max text size on your testing device.
  2. Log or throw an error in the playground.

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label May 4, 2026
@facebook-github-tools facebook-github-tools Bot added the Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team. label May 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant