这是indexloc提供的服务,不要输入任何密码
Skip to content

Incorrect height of amp-consent when navigation bar is displayed #28133

@MaximePlancke

Description

@MaximePlancke

What's the issue?

amp-consent is loading an Iframe which takes 100vh when the full screen mode is activated. This 100vh includes the navigation bars on iOS devices and some Android which doesn't let the user scroll down to the bottom of the Iframe. It is a problem for us as we have our action buttons inaccessible. Instead of using 100vh, could you make sure the Iframe takes 100% of the visible height?

A working solution would be to remove the height: 100vh and add

min-height: -webkit-fill-available;
min-height: 100%;

It is a blocking issue on our side. Thank you.

How do we reproduce the issue?

https://sandbox.didomi.io/amp.html

Don't scroll the page, click on Learn More and try to scroll down. You won't be able to reach the bottom buttons.

What browsers are affected?

This example is on an iPhone 8 with iOS 13.4 on Safari but you can find this issue on a lot of iOS devices.

Which AMP version is affected?

2004240001480

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions