简体   繁体   English

AMP-侧边栏; 单击按钮打开,但再次直接关闭; 仅发生于amp-cache

[英]AMP-sidebar; opens on button click but directly closes again; only occurs from amp-cache

I have a website that is mostly AMP compatible and I dont have a non-amp version. 我有一个主要与AMP兼容的网站,但没有非amp版本。 I use a amp-sidebar for the menu on small screens. 在小屏幕上,我将amp-sidebar用于菜单。 Everything works fine when resizing on desktop and validates fine in the amp validator. 在桌面上调整大小时,一切工作正常,并在安培验证器中进行验证。 When I enter the url https://hpphysio.com on my android smartphone there also is no problem. 当我在android智能手机上输入URL https://hpphysio.com时,也没有问题。 But when I google hp physio and open the amp-cached version from the google results, the page is broken. 但是,当我搜索hp physio并从google结果中打开amp缓存版本时,页面已损坏。 The sidebar occurs but immediately closes again when pressing the menu button. 出现侧边栏,但在按菜单按钮时立即再次关闭。 This happens in 9 of 10 tries. 10次​​尝试中有9次发生这种情况。 Sometimes the menu stays open. 有时菜单保持打开状态。 The site is unusable when loaded from the amp-cache. 从amp缓存加载时,该站点不可用。 What might be the problem? 可能是什么问题?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM