Skip to content

[Date field] Clicking a date in a dialog can close the dialog #2059

@jpzwarte

Description

@jpzwarte

Provide a general summary of the issue here

  • Put an <sl-date-field> inside an <sl-dialog>
  • Open the dialog and then toggle the calendar popover in the date-field
  • Click a date that is outside the dialog boundary
  • Notice the dialog closing

What is happening here is that the click event on the date in the <sl-calendar> is somehow propagating to the backdrop of the dialog. The click on the backdrop triggers the closing of the dialog.

👤 Your name

Jeroen

🧢 Your Product/Team

SLDS

Metadata

Metadata

Assignees

Labels

Type

Projects

Status

✈️ Released

Relationships

None yet

Development

No branches or pull requests

Issue actions