Skip to the content.

Dialog mask lingers and blocks taps after close (iOS Safari)

Symptom

On a real iPhone (Safari, private tab on AWS Test), Personalize → Done closes the panel, but the dark backdrop stays and the page is blocked. After a few seconds it clears on its own; a reload also clears it. Menu, brand and splash-door taps work. Chromium phone emulation closes the dialog and removes the mask at once (.p-dialog-mask count 0 after Done, X or Esc).

Cause

PrimeVue 4 Dialog renders the mask as the parent of a <Transition name="p-dialog">. On close it adds p-overlay-mask-leave-active to the mask, runs the dialog’s leave transition, and only in onAfterLeave sets containerVisible = false, which removes the mask. Until then the mask keeps its inline pointer-events: auto.

Two app styles made that window long and visible on iOS Safari:

Fix

In core/web/assets/css/_globals.scss:

!important is required because PrimeVue sets pointer-events inline on both elements.

Verify

Remaining close lag

Re-checked on a real iPhone (Safari, private tab, AWS Test, 2026-10-18): the backdrop no longer blocks the page, but closing still lags: the panel and backdrop take a noticeable moment to go after Done. Not fixed yet; tracked in interaction-redesign.md#todo.