KevinGrandon / Firefox-OS-Runtime

A Firefox plugin which has several API mocks for rapid development on FFOS.
Other
6 stars 2 forks source link

Proxy touch events #1

Open KevinGrandon opened 11 years ago

KevinGrandon commented 11 years ago

We need the following touch events to work:

touchstart, touchend, touchmove.

Additionally I've seen some apps use a 'tap' and 'dbltap' event.

Specifically long tapping on icons in the homescreen should work. Any others?

KevinGrandon commented 11 years ago

So it appears that homescreen is listening to a 'contextmenu' event. This is triggered by a right-click in a browser.

Commit 9a0729ebcaac57d71ab97d996676c61ec44ed727 slightly addresses the pain-point of interacting with homescreen icons by preventing the context menu from appearing. This is not a proper fix though, and we should support long taps.