Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

react-router-outlet interferes with layouting / sizing of components #20767

Closed
Artur- opened this issue Dec 20, 2024 · 0 comments · Fixed by #20771
Closed

react-router-outlet interferes with layouting / sizing of components #20767

Artur- opened this issue Dec 20, 2024 · 0 comments · Fixed by #20771
Labels

Comments

@Artur-
Copy link
Member

Artur- commented Dec 20, 2024

Description of the bug

When you put a Hilla view inside a Flow main layout, you get a < react-router-outlet> element between the main layout component and the Hilla view. This affects how the view is sized, e.g. 100% view width does not work

Expected behavior

react-router-outlet should have display: contents so it is does affect layouting

Minimal reproducible example

Artur-/flow-crud-demo@9e05db7

Versions

  • Vaadin / Flow version: 24.7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants