You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using touch-emulator with React, inside a componentWillMount block (with a test to see if window is available - since this is a universal app that also renders on the server.)
Instead of immediately latching to document, it'd be great to return an instance that could be controlled programmatically.
Specifically, I'd like to create a toggle for turning touch on/off, so I can play with components as both desktop and mobile-simulated.
The text was updated successfully, but these errors were encountered:
hashchange
added a commit
to hashchange/touchemulator
that referenced
this issue
Mar 3, 2017
I'm using touch-emulator with React, inside a
componentWillMount
block (with a test to see ifwindow
is available - since this is a universal app that also renders on the server.)Instead of immediately latching to
document
, it'd be great to return an instance that could be controlled programmatically.Specifically, I'd like to create a toggle for turning touch on/off, so I can play with components as both desktop and mobile-simulated.
The text was updated successfully, but these errors were encountered: