Skip to content

Pin Send button to prevent keyboard toolbar overlap#604

Open
bjorkert wants to merge 2 commits intodevfrom
fix/pinned-send-button
Open

Pin Send button to prevent keyboard toolbar overlap#604
bjorkert wants to merge 2 commits intodevfrom
fix/pinned-send-button

Conversation

@bjorkert
Copy link
Copy Markdown
Contributor

@bjorkert bjorkert commented Apr 12, 2026

Summary

  • Moves the Send button out of the scrollable Form and pins it at the bottom of the screen using .safeAreaInset(edge: .bottom) in all four remote command views

The issue reports that the Send button gets blocked by the keyboard toolbar (trash/dismiss buttons) when a recommended bolus is present and the value has been edited. Rather than reducing padding as suggested in the issue, the Send button is now pinned outside the Form entirely — it stays visible above the keyboard at all times, regardless of form content height or screen size.

Affected views: TRC Bolus, TRC Meal, Loop APNS Bolus, Loop APNS Carbs

Fixes #602

Move the Send button out of the scrollable Form and pin it at the
bottom using .safeAreaInset(edge: .bottom) in all four remote command
views (TRC Bolus, TRC Meal, Loop APNS Bolus, Loop APNS Carbs).

The button is now always visible — above the keyboard when it's open,
at the bottom when it's closed. Also adds .scrollDismissesKeyboard to
allow interactive keyboard dismissal by scrolling.

Fixes #602
@bjorkert
Copy link
Copy Markdown
Contributor Author

image image

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