amphtml icon indicating copy to clipboard operation
amphtml copied to clipboard

[RC Channel] amp-bind on tap events unable to set amp-state

Open candice-womp opened this issue 7 years ago • 3 comments

What's the issue?

Elements that are direct children of the body or are descendants of direct children of the body are unable to set an amp-state on tap.

How do we reproduce the issue?

Example URL: https://amp.luckyvitamin.com/ Make sure that RC Channel is active in order to reproduce the issue.

After the page has loaded click on the Menu button in the header. This menu button has two on tap events - one is to set the state and the other is to open an amp-sidebar. The tap event to open the sidebar does work however the tap event to set the state does not. This causes the page to freeze due to the amp-sidebar being activated.

What browsers are affected?

All browsers.

Which AMP version is affected?

This is a new issue using Version 1907091704050 via the RC Channel.

candice-womp avatar Jul 15 '19 19:07 candice-womp

We are also seeing issues with amp-bind where bindable attributes are not listening to the amp-state whenever it changes.

Example:

  • Predictive search does not work at https://amp.raise.com
  • Sorting does not work at https://amp.jmbullion.com/gold/gold-coins/american-gold-buffalo-coins/

candice-womp avatar Jul 15 '19 23:07 candice-womp

Thanks for the report. I confirmed this is the same root cause as #23281 and is fixed by #23333. We'll patch the RC tomorrow before promoting it to prod.

dreamofabear avatar Jul 15 '19 23:07 dreamofabear

Verified this is fixed in 1907152257550.

dreamofabear avatar Jul 16 '19 19:07 dreamofabear