Skip to content

Commit

Permalink
fix: get the correct reference to the Notification class (#8399)
Browse files Browse the repository at this point in the history
  • Loading branch information
web-padawan authored Dec 27, 2024
1 parent 2cd296e commit c90066f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/notification/src/vaadin-notification-mixin.js
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,7 @@ export const NotificationMixin = (superClass) =>

/** @private */
get _container() {
const Notification = customElements.get('vaadin-notification');
if (!Notification._container) {
Notification._container = document.createElement('vaadin-notification-container');
document.body.appendChild(Notification._container);
Expand Down

0 comments on commit c90066f

Please sign in to comment.