Last active
December 20, 2015 00:39
-
-
Save cacheleocode/6043262 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| open HTML file in finder, prevent default gesture behavior: | |
| add -webkit CSS snippet | |
| <style type="text/css"> | |
| * | |
| { | |
| -webkit-touch-callout: none; | |
| -webkit-user-select: none; | |
| } | |
| </style> | |
| add onselectstart body attribute | |
| <body style="margin:0;padding:0;" onselectstart="return false;"> | |
| add event method to Stage actions, touchstart, touchmove and touchend (deprecated) | |
| e.preventDefault(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment