Skip to content

Commit

Permalink
fix: dialog stays open with overlay clickes if datepicker was open
Browse files Browse the repository at this point in the history
  • Loading branch information
sun-mota committed Dec 27, 2024
1 parent 5721793 commit 40b2e49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/componentBase.js
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ export default class ComponentBase extends LitElement {
*/
handleOverlayClick() {
if (this.open && !this.modal) {
const dropdownComponents = [...this.querySelectorAll('auro-combobox, [auro-combobox], auro-select, [auro-select]')];
const dropdownComponents = [...this.querySelectorAll('auro-combobox, [auro-combobox], auro-select, [auro-select], auro-datepicker, [auro-datepicker]')];
const dropdowns = [
...this.querySelectorAll('auro-dropdown, [auro-dropdown]'),
...dropdownComponents.map((comp) => comp.dropdown),
Expand Down

0 comments on commit 40b2e49

Please sign in to comment.