Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Demos: Allow text selection in INPUTs and TEXTAREAs.

Closes gh-6819
  • Loading branch information...
commit 44f503dc468aeb8ad44381467e283b2cdeb79ae9 1 parent 44e2d98
@WebVeteran WebVeteran authored arschmitz committed
Showing with 2 additions and 1 deletion.
  1. +2 −1  demos/panel-swipe-open/index.php
View
3  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;
Please sign in to comment.
Something went wrong with that request. Please try again.