You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@royale.apache.org by GitBox <gi...@apache.org> on 2019/12/18 09:20:16 UTC
[GitHub] [royale-asjs] yishayw opened a new issue #629: preventDefault() not
working on DragEvent
yishayw opened a new issue #629: preventDefault() not working on DragEvent
URL: https://github.com/apache/royale-asjs/issues/629
Getting a runtime error:
TypeError: Cannot read property 'preventDefault' of null (null is the event object)
This could be because
COMPILE::JS
public class DragEventBase extends goog.events.BrowserEvent
While the controller creates the event and dispatches it on a Royale element. In other words there's no related browser event that's kept in reference.
@aharui ,
Is there a reason DragEventBase does not extends org.apache.royale.events.Event ?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services