Skip to content

Fix iOS placeholder contrast on custom surfaces - #124

Merged
shanerbaner82 merged 1 commit into
mainfrom
fix/ios-placeholder-contrast
Oct 4, 2026
Merged

shanerbaner82 merged 1 commit into
mainfrom
fix/ios-placeholder-contrast

Conversation

@shanerbaner82

Copy link
Copy Markdown
Contributor

iOS input placeholders can disappear on a custom dark surface while the device uses light appearance. Without an explicit placeholder override, SwiftUI uses its system color instead of the field's text color.

Default placeholders to the field text color at 60% opacity, while preserving explicit overrides such as on-input. Apply the same resolution to secure, revealed, selection-enabled, and multiline inputs. Android is unchanged.

Validation:

  • Two focused regression checks pass (9 assertions); Pint and diff checks pass.
  • Updated SwiftUI expressions type-check against the installed iOS simulator SDK.
  • The equivalent fallback patch in Curbshot's installed plugin built and launched on the iPhone 18 Pro simulator. Visual confirmation is still pending; the complete plugin test suite was not run locally.

@shanerbaner82
shanerbaner82 merged commit d7f5825 into main Oct 4, 2026
4 checks passed
@shanerbaner82
shanerbaner82 deleted the fix/ios-placeholder-contrast branch October 4, 2026 16: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.

1 participant