it’s not supported in plain vaadin. However, it can be done in javascript quite easily and could probably even be done as an extension to vaadin textarea. However, as you note you can’t have it both ways. If you want the tab key to insert actual tab chars to the textarea, it will become a focus black hole - you can’t get out of there with the tab key anymore.