diff options
author | Johannes Dahlström <johannesd@vaadin.com> | 2015-10-28 10:15:06 +0200 |
---|---|---|
committer | Johannes Dahlström <johannesd@vaadin.com> | 2015-10-28 14:13:16 +0000 |
commit | 142b95cd4e10bfd7c2ab5a1c72a7e33eec89d741 (patch) | |
tree | b9ae68aa12b16791a600b0594776374ad3eb8997 /WebContent/VAADIN/themes | |
parent | ac1c4409539d605109078f3da27573c0f5769c10 (diff) | |
download | vaadin-framework-142b95cd4e10bfd7c2ab5a1c72a7e33eec89d741.tar.gz vaadin-framework-142b95cd4e10bfd7c2ab5a1c72a7e33eec89d741.zip |
Prevent text selection when drag-resizing Grid columns (#16838)
This patch uses CSS user-select and therefore does not fix IE 8 and 9.
Change-Id: If9f462d97b9417b3d14f37d1e7f0cedba018be37
Diffstat (limited to 'WebContent/VAADIN/themes')
-rw-r--r-- | WebContent/VAADIN/themes/base/grid/grid.scss | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/WebContent/VAADIN/themes/base/grid/grid.scss b/WebContent/VAADIN/themes/base/grid/grid.scss index 6dc5f50cb1..9457127b53 100644 --- a/WebContent/VAADIN/themes/base/grid/grid.scss +++ b/WebContent/VAADIN/themes/base/grid/grid.scss @@ -268,6 +268,13 @@ $v-grid-details-border-bottom-stripe: 1px solid darken($v-grid-row-background-co right: -6px; cursor: col-resize; z-index: 10; + + // TODO should refactor into a mixin + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; } // Footer |