Important Notice - Forums is archived

To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Product icon

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.

Disable text selection

Michael Holtermann
1 decade ago Mar 28, 2012 8:49am
Diogo Harger
1 decade ago Sep 10, 2012 2:44pm
Henri Sara
1 decade ago Sep 11, 2012 7:29am
Dino Fancellu
9 years ago Nov 10, 2013 9:17pm
Henri Sara
9 years ago Nov 11, 2013 8:39am
Dino Fancellu
9 years ago Nov 11, 2013 4:53pm

For me I just added 

  .noselect {
    user-select: none;
   -moz-user-select: none;
   -khtml-user-select: none;
   -webkit-user-select: none;

to my theme.scss

Then told it to use the theme and then put 


I couldn't be bothered reading all that stuff about extensions.

Hope this helps out others.

Dino Fancellu
9 years ago Nov 11, 2013 5:01pm