etgryphon/stativus — Issue #17: BUG: Concurrent event handler isn't triggered
Author: johnnywengluu
Created: 2011-11-04 06:57:56+00:00
State: open

I think I found a bug.

I have two concurrent states which registers an event handler with the same name.

However, when I fire the event, only one of them is triggered. I haven't returned "true" so the event should propagate.

I have recreated this weird behavior here: http://jsfiddle.net/aaY9F/24/

- When you click the button it will fire the event.
- I have commented the event handler that isn't triggered.
- I have commented the event handler that is triggered.

This is a good example of how nesting would be useful and make it easier to see :)