Permalink
Browse files

Demos: Allow text selection in INPUTs and TEXTAREAs.

Closes gh-6819
  • Loading branch information...
1 parent 44e2d98 commit 44f503dc468aeb8ad44381467e283b2cdeb79ae9 @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 44f503d

Please sign in to comment.