From c9157be5743ce20704829b3073f664cabe003936 Mon Sep 17 00:00:00 2001
From: m5o <m5o@gmx.com>
Date: Sat, 24 Nov 2018 13:25:18 +0100
Subject: [PATCH] prevent text selection for floating labels example (#27719)

* prevent text selection for floating labels
  * expand the click target by no selecting the label text
* use `pointer-events: none;` instead of `user-select`
  * thx @MartijnCuppens
---
 site/docs/4.1/examples/floating-labels/floating-labels.css | 1 +
 1 file changed, 1 insertion(+)

diff --git a/site/docs/4.1/examples/floating-labels/floating-labels.css b/site/docs/4.1/examples/floating-labels/floating-labels.css
index c322d9b568..d8ad2f3c15 100644
--- a/site/docs/4.1/examples/floating-labels/floating-labels.css
+++ b/site/docs/4.1/examples/floating-labels/floating-labels.css
@@ -40,6 +40,7 @@ body {
   margin-bottom: 0; /* Override default `<label>` margin */
   line-height: 1.5;
   color: #495057;
+  pointer-events: none;
   cursor: text; /* Match the input under the label */
   border: 1px solid transparent;
   border-radius: .25rem;
-- 
GitLab