Skip to content

Commit

Permalink
build: exclude erroneouly interpreted event dispatch from CEM management
Browse files Browse the repository at this point in the history
  • Loading branch information
Westbrook committed Mar 22, 2024
1 parent 7f753bc commit 9307c43
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/overlay/src/Overlay.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ export const strategies = {
*
* @fires sp-opened - announces that an overlay has completed any entry animations
* @fires sp-closed - announce that an overlay has compelted any exit animations
* @fires slottable-request - requests to add or remove slottable content
*/
export class Overlay extends OverlayFeatures {
static override styles = [styles];
Expand Down Expand Up @@ -536,6 +537,9 @@ export class Overlay extends OverlayFeatures {
if (!this.open) {
document.body.offsetHeight;
}
/**
* @ignore
*/
this.dispatchEvent(
new SlottableRequestEvent(
'overlay-content',
Expand Down

0 comments on commit 9307c43

Please sign in to comment.