Skip to content

fix(settings): reminder denied-explainer sheet top/bottom margin imbalance at medium detent #673

Closed

Description

@wei18

Owner-reported on device (iPhone, dark mode, 2026-07-05). Two observations on the ReminderDeniedExplainer sheet (Settings → Reminders → denied row → Fix):

  1. Margin imbalance: at the .medium detent the content sits low — a large dead zone above the bell icon, while 'Not now' nearly touches the bottom edge. Top/bottom spacing should read balanced.
  2. Touch glow: touching near the bottom-right produces a bright specular sweep across the 'Open Settings' CTA / sheet corner. Possibly iOS 26 Liquid Glass system highlight vs our styling — needs a verdict (system behavior to leave vs ours to fix).

Surface: Packages/SettingsKit/Sources/SettingsUI/Reminders/ReminderPrimerSheet.swift (ReminderDeniedExplainer), presented from ReminderSettingsSection with .presentationDetents([.medium]).

UI/UX designer study dispatched; proposal to be attached before any code. Screenshots are owner-held (not committed per repo policy).

Activity

  1. added
    bug
    on Jul 4, 2026
  2. wei18 commented on Jul 4, 2026

    @wei18
    OwnerAuthor

    Design study complete (UI Designer, 2026-07-05).

    Root cause (margin issue): ReminderDeniedExplainer puts .background(theme.surface.elevated) on its intrinsically-sized VStack — shorter than the .medium detent, so the rest of the sheet shows the system sheet material as a darker band above the content. The sibling ReminderPrimerSheet already solved this: ScrollView as sheet root with the background ON the ScrollView (fills the full detent).

    Proposal (adopted): mirror the primer 1:1 — wrap the VStack in a ScrollView, move the background onto it (~5-line diff in ReminderPrimerSheet.swift), and add .presentationDragIndicator(.hidden) to the denied-explainer presentation site in ReminderSettingsSection.swift for parity (same R6.3 rationale). Snapshot baseline for the explainer will change intentionally — new PNGs get a human eyeball pass (dark+light), not blind re-record. Shared component ⇒ single fix serves both apps (grep for second call sites as a pre-merge check).

    Touch glow (screenshot 3): system-standard, accept. The 'Open Settings' button is stock .borderedProminent, which under iOS 26 Liquid Glass includes a touch-tracking specular sweep. No custom .glassEffect in the Reminders sheets; suppressing it would be a repo-wide design decision affecting every prominent button. Not a defect.

    Implementation dispatched.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions