amphtml
amphtml copied to clipboard
amp-accordion: Uncaught TypeError: Cannot read property 'setAttribute' of undefined
Short description of your issue:
Currently, when using amp-accordion, I'm getting the following error when a html tag is present and clicked in the first child of a <section>. It was working flawlessly in the afternoon (EDT).
amp-accordion.js:80 Uncaught TypeError: Cannot read property 'setAttribute' of undefined
How do we reproduce the issue?
Using the following snippet:
<amp-accordion>
<section>
<h1>1) Click me first... two time - <i>2) Click me now ... two time</i></h1>
<p>Bunch of awesome content</p>
</section>
</amp-accordion>
Click on "1) Click me first..." part of the h1 -> Working
Click on "2) Click me now...." part of the h1 -> Error triggered by clicking the <i> tag.
What browsers are affected?
Affecting all browsers / devices.
Which AMP version is affected?
- 1462999126709
- 1463071969513
/to @sriramkrish85