Skip to content

fix(login): move the Cancel button to the corner - #446

Closed
dmnyc wants to merge 1 commit into
mainfrom
fix/signin-cancel-position
Closed

dmnyc wants to merge 1 commit into
mainfrom
fix/signin-cancel-position

Conversation

@dmnyc

@dmnyc dmnyc commented Sep 2, 2026

Copy link
Copy Markdown
Collaborator

The Cancel button sat in .overlay(alignment: .bottom) with a fixed .padding(.bottom, 120), which put it on top of the Log In button. The view already sets .ignoresSafeArea(.keyboard, edges: .bottom), so a bottom anchor had no relationship to the keyboard at all — with it open the button was unreachable.

It moves to .topLeading with 16pt insets, matching where the Android apps put theirs.

Worth noting this is the only way out of add-account: ContentView presents the cover with .interactiveDismissDisabled(), so swipe-to-dismiss is off.

White text on 15%-white also read as scenery rather than a button, so the background goes to 92% white with a black label.

Verified with a Debug build for the iOS Simulator. Not exercised against a live sign-in.

The Cancel button sat in a bottom overlay with a fixed 120pt inset,
which put it on top of the Log In button, and the view already sets
ignoresSafeArea(.keyboard, edges: .bottom) so a bottom anchor had no
relationship to the keyboard at all. It moves to the top-leading corner.

This is the only way out of add-account: the cover is presented with
interactiveDismissDisabled(), so swipe-to-dismiss is off.

White text on 15%-white also read as scenery rather than a button. The
background goes to 92% white with a black label.
@dmnyc

dmnyc commented Sep 3, 2026

Copy link
Copy Markdown
Collaborator Author

Superseded by #449, which consolidates first-run and add-account onto one entry point.

Closing rather than merging: this branch's commit (abbf516) is already included in #449 rather than rebased away, so the Cancel fix survives LoginView being deleted instead of going with it. Merging both would apply it twice.

Comment written by an agent on behalf of @dmnyc.

@dmnyc dmnyc closed this Sep 3, 2026
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