← Back to release summary

Light dismiss improvements for popovers and dialogs

Category
DOM
Type
No developer-visible change
Status
Proposed (Chrome Proposed)
Intent stage
None

Summary

Improves and simplifies the light dismiss behavior for popovers and dialogs to fix a few bugs. "Light dismiss" is the behavior where clicking outside of a popover or dialog closes it. The fixed bugs include making scrolling gestures on touch screens no longer trigger light dismiss and making right clicks no longer trigger light dismiss. The underlying mechanism of this change is that the browser will use click events to trigger light dismiss instead of a combination of pointerdown and pointerup events.

Motivation

We need to fix these bugs with light dismiss: https://issues.chromium.org/issues/408010435 https://issues.chromium.org/issues/425579196

Standards & signals

Explainers: https://github.com/w3c/pointerevents/issues/542

View on chromestatus.com