0

In a Vaadin 21.0.1 application there are some Tabs with a RouterLink in each Tab for application navigation.

In general this works fine. But when I right-click at one of these Tabs / RouterLinks then a new (empty) browser tab opens and this error occurs: Assertion error: No child node found with id -1.

enter image description here

In Vaadin 20.0.9 the new tab also stays empty.

Has anybody an idea how to handle / fix this?

Anna Koskinen
  • 1,362
  • 3
  • 22
S. Doe
  • 685
  • 1
  • 6
  • 25
  • 2
    You need to provide some more information or preferably an example project that can be tested. It does sound similar to https://github.com/vaadin/flow/issues/5830 which was about using the wrong scope – Artur Signell Dec 22 '21 at 12:40
  • 2
    Yes, using `@UIScope` instead of `@VaadinSessionScope` made the difference. Thank you! – S. Doe Dec 22 '21 at 13:51

0 Answers0