If I listen on a click event on the application I expect to get all click
events bubbled up from contained elements. That works, however the target is
the application rather than the element that was clicked on. This is due to
ElementWrapper.forwarder() re-dispatching the event, where the
ElementWrapper is the application. Is this by design?

The problem I had with the target not being preserved is that
MouseEvent.screenX is wrong, as it relies on the target and on localX for
its calculation. localX pertains to the original target, not the new target.

Any ideas on how to fix this?



--
View this message in context: 
http://apache-flex-development.2333347.n4.nabble.com/FlexJS-ElementWrapper-forwarder-Changes-Target-tp54537.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.

Reply via email to