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.

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Text selection in CustomLayout
Hi there,
I'm going crazy trying to figure out why you cannot highlight (select) text using CustomLayout. Simple example, I create CustomLayout from file which contains only
<div>Test</div>
and i cannot highlight and copy text! Please help, I'm losing my mind trying to get it work...
Hi All, Does anyone have any thoughts about this? I am using Vaadin 8.9.0 and facing this exact problem with CustomLayout, much to the dismay of my user base.
Any suggestion on how to fix it are greatly appreciated.
Discovered that we can add user-select: text;
css to the div tag, making the text within copy-and-paste-able.