-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Labels
Description
- Subscribing to "touchend" event ("events" object in a view) brokes "tap" and "pointerup" events in Firefox. RAD simply doesn't fire "tap" and "pointerup" events in this case.
- Custom event timeStamp is completely broken in Firefox and returns large numbers. Due to this GestureTracker always fires a "longtap" instead of a "tap". I found that overriding the timeStamp getter works for FirefoxOS and desktop Forefox, but it looks dirty as hell.
customEvent = document.createEvent('MouseEvents');
customEvent.initMouseEvent(type, ...);
// direfox dirty hack
customEvent.__defineGetter__('timeStamp', function (){
return e.timeStamp;
});Reactions are currently unavailable