Skip to content

Commit b2ad3ca

Browse files
authored
refactor: remove obsolete overlay content code (#3901)
1 parent ddb628d commit b2ad3ca

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

‎packages/date-picker/src/vaadin-date-picker-overlay-content.js‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -689,12 +689,6 @@ class DatePickerOverlayContent extends ControllerMixin(ThemableMixin(DirMixin(Po
689689
}
690690

691691
_close() {
692-
const overlayContent = this.getRootNode().host;
693-
const overlay = overlayContent ? overlayContent.getRootNode().host : null;
694-
if (overlay) {
695-
overlay.opened = false;
696-
}
697-
698692
this.dispatchEvent(new CustomEvent('close', { bubbles: true, composed: true }));
699693
}
700694

0 commit comments

Comments
 (0)