Permalink
Browse files

Demos: Allow text selection in INPUTs and TEXTAREAs.

Closes gh-6819

(cherry picked from commit 44f503d)
  • Loading branch information...
1 parent 56dddc6 commit a25347492911e96dceb109e69e44c2e2856b3a28 @WebVeteran WebVeteran committed with arschmitz Dec 20, 2013
Showing with 2 additions and 1 deletion.
  1. +2 −1 demos/panel-swipe-open/index.php
@@ -30,7 +30,8 @@
</script>
<style>
/* Swipe works with mouse as well but often causes text selection. */
- #demo-page * {
+ /* We'll deny text selecton on everything but INPUTs and TEXTAREAs. */
+ #demo-page :not(INPUT):not(TEXTAREA) {
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;

0 comments on commit a253474

Please sign in to comment.