-
Notifications
You must be signed in to change notification settings - Fork 87
Open
Labels
Impact: LowSeverity: MajorbugSomething isn't workingSomething isn't workingneeds designDesign is neededDesign is neededvaadin-master-detail-layout
Description
Description
When MDL is used with a fixed-size master side and a flexible-width detail side, the master shadow part only gets a max-width but no width when the detail side is hidden. The part thus collapses to 0 width, and so does e.g. a Grid inside it with width:100%.
Expected outcome
Actually not sure how it should behave.
Either the master side should always stick to the size set to it, or it should expand to fill the entire MDL when the detail is hidden.
Minimal reproducible example
grid.setSizeFull();
mdl.setSizeFull();
mdl.setMaster(grid);
mdl.setMasterSize("400px");
mdl.setDetailMinSize("500px");
Steps to reproduce
Configure an MDL with a Grid in the master side and whatever on the detail side as shown above.
Environment
Vaadin version(s): 24.8.8.
Browsers
No response
peholmst
Metadata
Metadata
Assignees
Labels
Impact: LowSeverity: MajorbugSomething isn't workingSomething isn't workingneeds designDesign is neededDesign is neededvaadin-master-detail-layout