Polymer / polymer

Our original Web Component library.
https://polymer-library.polymer-project.org/
BSD 3-Clause "New" or "Revised" License
22.04k stars 2.01k forks source link

Polymer2 dom-repeat listener functions #4016

Closed e111077 closed 7 years ago

e111077 commented 7 years ago

Description

When attaching an on-tap handler inside of an element within a dom-repeat in polymer 2, the handler is not called.

Live Demo

http://jsbin.com/dadelafuma/1/edit?html,output

Steps to Reproduce

  1. Add a function to an on-<event> attribute inside a dom-repeat
  2. Try your best to trigger that event

    Expected Results

event handler should be called

Actual Results

event handler is not called

Versions

kevinpschaaf commented 7 years ago

Fixed by https://github.com/Polymer/polymer/pull/4063.