@Layout shows some components behind in login

Is it just my idea or does the @Layout annotation allow to display certain components in the background ? by mistake ?

  • Vaadin Flow version 24.5.8

Removing the @Layout annotation from the MainLayout resolves this behavior, but it is strange.

I’m guessing you don’t want the main layout to be applied to the login view, rather just show it full screen? If so, you probably want to use autolayout = false in the route https://vaadin.com/docs/latest/flow/routing/layout

In fact, as it had been working before.

A normal login, and when logging in, the AppLayout with all its components will be shown as usual.