ChromeDevTools / EmulatedDeviceLab

An experimental prototype exploring simultaneous emulation of devices via Chrome DevTools

Home Page:https://chrome.google.com/webstore/detail/oaonfodocibcdobdeelbbfggjombamff/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Syncing touch events across devices

appsforartists opened this issue · comments

The Bike Index example uses onTouchTap to open a drawer. The drawer only opens in the viewport you clicked on in EDL.

This functionality is provided by Facebook's TapEventPlugin.

Thanks for reporting! EDL uses browser-sync-client to sync events between device windows. Out of the box only clicking seems to be supported. So, what we need here is another browser-sync-client plugin that handles touch events.

@appsforartists, I made a lot of improvements to event handling and syncing. It's still not perfect, but http://bikeindex.local:8080/ seems to be working now (http://tardis.local:8080/ does not, but that's a separate issue - #44 ). Can you please verify my fix using this branch?

OK, I'm merging this to master. If you'll find it still not working for you, please let me know.