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

Remove z-index on flex ad slots by default. #26277

Merged
merged 3 commits into from
Jan 9, 2020

Conversation

glevitzky
Copy link
Contributor

@glevitzky glevitzky commented Jan 9, 2020

Fixes #24653.

We currently set a fixed z-index on flex ad slots upon expansion which is causing ads to hover over publisher content (usually navigation components which also use a z-index, but often a lower value), with no obvious added benefit. After this PR is merged, we will default to not setting a z-index for flex ad slots, but will maintain a temporary holdback experiment to ensure no other breakages occur and to allow for the easy reversal of this change.

This also removes an old holdback experiment for enabling flex ad slots, which is no longer of use.

@glevitzky glevitzky requested review from lannka and jeffkaufman and removed request for jeffkaufman January 9, 2020 16:29
@glevitzky glevitzky merged commit d96cdca into ampproject:master Jan 9, 2020
@glevitzky glevitzky deleted the remove-zindex branch January 9, 2020 17:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AMP4ADS in <AMP-AD> sets z-index breaking UI
5 participants