question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

🐛 amp-story-page-outlink CTA is broken in localDev

See original GitHub issue

Description

Swipe/click doesn’t work for <amp-story-page-outlink> on localDev server.

TypeError: Cannot read property 'querySelector' of null
    at programaticallyClickOnTarget2 (amp-story-page-attachment.js:346)
    at amp-story-page-attachment.js:362
    at wrapped2 (timer-impl.js:70)
reportError @ error-reporting.js:203
wrapped2 @ timer-impl.js:72
setTimeout (async)
delay @ timer-impl.js:76
openRemote_ @ amp-story-page-attachment.js:361
open @ amp-story-page-attachment.js:325
onSwipeY_ @ amp-story-draggable-drawer.js:448
onTouchMove_ @ amp-story-draggable-drawer.js:342
wrapped2 @ event-helper-listen.js:49

Reproduction Steps

Go to a demo examples/amp-story/attachment.html and swipe or click on one of the amp-story-page-outlink pages’ cta

Relevant Logs

No response

Browser(s) Affected

All

OS(s) Affected

All

Device(s) Affected

All

AMP Version Affected

No response

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
gmajouletcommented, Sep 9, 2021

Can this be closed?

0reactions
samouricommented, Sep 9, 2021

I’ll ensure this does not occur again when trying to redeploy the change

Read more comments on GitHub >

github_iconTop Results From Across the Web

Documentation: <amp-story-page-outlink>
amp -story-page-outlink provide a UI for a one-tap outlink experience. The outlink can be opened by users through a "swipe up" gesture, or...
Read more >
Google Web Story Issue - Google Search Central Community
I tried running the link on the AMP test page and got an error saying that the Web Story is not valid with...
Read more >
Tag 'amp-story' is not allowed to have any sibling tags
Hello, I got this error when testing for Google web stories, how do I fix it. Tag 'amp-story' is not allowed to have...
Read more >
AMP story page with form inside - Stack Overflow
Did the error message actually says tag 'xxx'? – user2468968. Feb 4, 2019 at 16:21 · @user2468968 , amp-story-grid-layer, amp-story-cta-layer for ...
Read more >
Untitled
Jadwal kuliah stmik duta bangsa, Karniewo gok, Global local, Dev diaries, ... heart broken pictures, Us elections 2012 results congress, 0x17 error code, ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found