Marko: w-onClick handler doesn't work during progressive rendering

Created on 16 Jun 2016  路  2Comments  路  Source: marko-js/marko

So I used a progressive rendering demo and changed addEventListener to w-onClick. Now header widget reacts on clicks only after rendering is finished. Problem appeared after upgrading Marko 2 to 3.

Demo here: https://marko-progressive-bug.herokuapp.com

Forked repo to show a bug: https://github.com/darkwebdev/marko-progressive-rendering

Commit with changes: https://github.com/darkwebdev/marko-progressive-rendering/commit/afe5c03567b77b641d54404ee2eac7243b417661

blocked bug

Most helpful comment

Fixed. See: https://github.com/marko-js/marko-widgets/issues/153

Thanks for reporting the problem!

All 2 comments

Hey @darkwebdev, just wanted to say that I haven't had a chance to investigate since I was out of the office this past week. I hope to investigate this a little later this week. Thanks for reporting the problem and thanks for your patience!

Fixed. See: https://github.com/marko-js/marko-widgets/issues/153

Thanks for reporting the problem!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

DavidBernal picture DavidBernal  路  5Comments

ghost picture ghost  路  6Comments

JarvisPrestidge picture JarvisPrestidge  路  4Comments

andersea picture andersea  路  4Comments

mlrawlings picture mlrawlings  路  5Comments