On the expected behaviour of a table's contextual menu.

Hi all,
I am using the Vaadin’s built-in context menu with a table. I’ve noticed that when the context menu is displayed, it will disappear as soon as the table is repainted. Is this the expected behaviour? In my case, I am using the refresher plugin to update the table data model in the background.
This also occurs when using context menus with trees.

Many thanks for your answers.