Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Toggle() function in <amp-selector> throws exception #20773

Closed
nainar opened this issue Feb 11, 2019 · 0 comments
Closed

Toggle() function in <amp-selector> throws exception #20773

nainar opened this issue Feb 11, 2019 · 0 comments

Comments

@nainar
Copy link
Contributor

nainar commented Feb 11, 2019

I just saw that the toggle() function of is throwing an error on every second click.

Console output is:

  • Action execution failed: AMP-SELECTOR toggle: Cannot read property 'removeAttribute' of undefined

This also happens on https://ampbyexample.com/components/amp-selector/. On that page go to "Actions" sections and click on "toggle(index=1)" multiple times. Every second click throws the exception in console.

Actual issue filed here: ampproject/amp-by-example#1821

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants