PhoenixKit 1.7.184: Row menus work on iPhone and Safari
PhoenixKit 1.7.184 fixes the row action menus in admin tables, whose items did nothing when tapped in Safari or any iPhone or iPad browser, and tidies the users pages.
The menu treated a tap on its own item as a click outside and closed before the action ran. It now recognises its own items. Many checkboxes in the settings could only be clicked on the box itself; clicking their text now works too. The OAuth provider switches stay locked while the main OAuth switch is off.
The user detail page now has the same actions as the list’s row menu: Roles, Confirm or Unconfirm email, Activate or Deactivate, and Delete only when you may delete that user. Its breadcrumb now goes through Users. The page and sidebar item are both called Users. When registration geolocation tracking is off, the Location column says Tracking disabled with a link to the settings, instead of No data on every row.
Full release notes: PhoenixKit 1.7.184
1.7.184 · 11 July 2026
Added
Checkboxcore component extended (PhoenixKitWeb.Components.Core.Checkbox):disabled(previously silently dropped — not in the allowed globals),wrapper_class(styles the wrapping<label>— spacing, orpointer-events-noneto lock a checkbox without excluding it from form submission the waydisabledwould),title(tooltip on the whole label, not just the box), and a:descriptionslot for secondary helper text. The default slot now doubles as rich label content (badges, icons, conditional markup) overriding the plainlabelstring when given.LayoutWrapper.app_layoutgainspage_section/page_section_path— an optional breadcrumb segment between “Admin Panel” andpage_title(e.g. “Admin Panel / Users / Jane Doe” on a user detail page instead of jumping straight from “Admin Panel” to the user’s name).
Changed
- Checkboxes across core migrated to
<.checkbox>(settings pages, registration/OAuth toggles, storage bucket/dimension forms, org tax toggle,user_form‘s boolean custom field) so future daisyUI syntax or style changes are a one-file edit instead of a repo-wide sweep. Left hand-rolled where the shape doesn’t fit a boolean toggle (role-assignment checkboxes and the image-format multi-select usevalue={item}collected viaMap.values/1, not the hidden-false/checkbox-true pattern). - Users list/detail naming unified. The admin page title now reads
@page_title(“Users”) instead of a hardcoded “User Management” that had drifted out of sync with it; the sidebar subtab is “Users” instead of “Manage Users”. - User detail page now offers the same actions as the Users list’s
⋮menu — Roles, Confirm/Unconfirm email, Activate/Deactivate, and (for your own profile) Settings, via the sametable_row_menucomponent andAuth/Rolescontext calls. Delete is now hidden (not just rejected on click) whenAuth.can_delete_user?/2says no, matching the list. - Users list’s Location column explains itself when empty. If
track_registration_geolocationis off, every row now says “Tracking disabled” with a link to Settings → Users, instead of an unexplained per-row “No data” that looked like missing data rather than a disabled feature.
Fixed
- Row-action
⋮menus could silently eat clicks on menu items (WebKit — i.e. every browser on iOS/iPadOS, plus desktop Safari). TheRowMenuJS hook portals its floating menu to<body>while open so it can escape a clipped table container; its “click outside closes the menu” listener only checked containment against the trigger’s wrapper, not the (now elsewhere-in-the-DOM) menu itself. Clicking a menu item was treated as an outside click: the capture-phase listener closed and relocated the menu mid-dispatch, and WebKit drops an in-flight click when its target moves during capture — so the tapped action never ran. Fixed by also checking containment against the portaled menu. - Checkboxes with hidden-false-fallback markup weren’t wrapped in a
<label>across settings pages (registration, notifications, multi-session, magic link, OAuth master/provider switches, storage bucket enable, org tax enable), so clicking the adjacent text did nothing — only the checkbox square itself was clickable. For the OAuth provider switches specifically (locked viapointer-events-nonewhile the master switch is off), the lock moved from the checkbox to the wrapping label so wrapping it in<label>couldn’t let a text click bypass the lock.
PhoenixKit 1.7.184. Install or update: {:phoenix_kit, "~> 1.7"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.