Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Amp-a4a: detachedCallback destroy creative frame #18344

Merged
merged 2 commits into from Sep 25, 2018

Conversation

keithwrightbos
Copy link
Contributor

@keithwrightbos keithwrightbos commented Sep 25, 2018

Address issue where amp-ad extending amp-a4a- within amp-sticky-ad does not destroy the FIE or remove the frame when a user collapses the sticky.

Fixes #18272.

@@ -1084,6 +1084,12 @@ export class AmpA4A extends AMP.BaseElement {
this.postAdResponseExperimentFeatures = {};
}

/** @override */
detachedCallback() {
super.detachedCallback();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: no need to call super.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Figured it can't hurt and good to have should super do something some day....

@keithwrightbos keithwrightbos merged commit bbf895f into ampproject:master Sep 25, 2018
@keithwrightbos keithwrightbos deleted the contained_unlayout branch September 25, 2018 14:44
torch2424 pushed a commit to torch2424/amphtml that referenced this pull request Oct 10, 2018
Enriqe pushed a commit to Enriqe/amphtml that referenced this pull request Nov 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants