Skip to content
This repository was archived by the owner on Oct 22, 2019. It is now read-only.
This repository was archived by the owner on Oct 22, 2019. It is now read-only.

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

@Svenmay

Description

@Svenmay

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.

image

Any other info needed from me? Just let me know :-)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions