leonidas / transparency

Transparency is a semantic template engine for the browser. It maps JSON objects to DOM elements by id, class and data-bind attributes.
http://leonidas.github.com/transparency/
MIT License
969 stars 112 forks source link

Touchend events only working on first rendered item, no others #135

Closed jlevers closed 9 years ago

jlevers commented 9 years ago

I'm using transparency to render buttons based on a JSON array, which is working great. All the buttons have the same class (.button). I have written a touchend event to fire on things with class button, but for some reason, the touchend event only actually works on the first thing with class button. It doesn't matter what that first thing is, but none of the things with class button that come after the first one fire on touchend like they should. I'm not 100% sure this is a transparency problem, but in case it is, I thought I'd create this issue. Thanks!

jlevers commented 9 years ago

This was not the fault of transparency, closing.