PhoenixKit 1.7.187: Bulk delete asks for confirmation again
PhoenixKit 1.7.187 fixes bulk actions in admin lists that ran without asking: a bulk or permanent delete with a confirmation prompt executed right away, with no dialog.
The script behind bulk selection stopped each click before Phoenix’s own confirmation handling could see it, so the prompt never appeared. The script now shows the confirmation itself. Cancelling stops the action, and nothing is sent to the server. Modules that pair a bulk action with a confirmation, such as Comments, Posts and Entities, get the prompt back once they run on this release. Nothing else changes.
Full release notes: PhoenixKit 1.7.187
1.7.187 · 12 July 2026
Fixed
data-confirmwas silently swallowed onBulkSelectScopeaction buttons. The hook’s_onActionClickcallse.preventDefault()synchronously on everydata-bulk-actionclick;phoenix_html’s own window-level click listener (which implementsdata-confirm) bails out early viaif (e.defaultPrevented) return;, so its confirm dialog never fired. Any button carrying bothdata-confirmanddata-bulk-action— most notably bulk/permanent delete — executed with no prompt. The hook now checksdata-confirmitself and callswindow.confirm()before proceeding, mirroringphoenix_html’s native behavior; cancelling stops the click and the LiveView event is never pushed. Found while migratingphoenix_kit_comments,phoenix_kit_posts, andphoenix_kit_entitiesto BulkSelect — all three already pairdata-confirmwith a destructive bulk action and are fixed retroactively once they pick up this release.
PhoenixKit 1.7.187. Install or update: {:phoenix_kit, "~> 1.7"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.