How to select item with an empty text in a tree?

Hi Vaadin Team,

In my application, I am able to select an item in a tree having some text in it, but i am unable to select a tree item with empty text.
Please suggest me how to do it.

Thanks
Bhargav

18030817.jpg

You seem to be using Vaadin 7, and in its Tree component this is a known limitation.

https://github.com/vaadin/framework/issues/7894

There is workaround mentioned in the ticket: “you can work around it in your own theme by defining a suitable height (or min-height) for e.g. .v-tree-node-caption > div > span.”

Thank you so much Tatu Lund for your quick reply. I have done as you said, now it is working.