Open bdjang opened 2 years ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.
This also happens in normal AMP pages. Let's exclude the email condition for easier debugging.
Description
Expected behavior: Display Mustache templates nested within
amp-carousel
. Font size of text content should be adjusted usingamp-fit-text
Current behavior: Text content is not being rendered or displayed at all - just blank spaces are showing.
amp-fit-text
is running into display issues withamp-carousel
in this specific use case.Reproduction Steps
amp-carousel
arrows and cycle through content;amp-fit-text
content is not being displayed at all:However, it is assigned a class of
i-amphtml-fit-text-content
and being hidden:visibility: hidden!important
will display the intended content but without any font size adjustments:amp-fit-text
will display properly ifamp-carousel
is removed completely from the original AMP email code:HTML code for "AMP YouTube Channel" box:
Conclusion:
amp-fit-text
is running into display issues when nested withamp-carousel
in this specific use case.Relevant Logs
No response
Browser(s) Affected
Chrome
OS(s) Affected
No response
Device(s) Affected
No response
AMP Version Affected
No response