I'd like to add native support for nested collapsible/expandable lists to the Scroll component, similar to how Engine's Child Layout Group works.
Currently, implementing nested lists with collapsible sections in Druid requires a lot of boilerplate code: manually handling show/hide, recalculating Scroll content size, managing input priority for nested Scrolls, and dealing with layout jumps after expand/collapse.
The main features I'm looking for are:
- Built-in support for nested Scroll views, with automatic input and stencil handling
- Native collapsible/expandable components that integrate with Scroll's Grid layout
- Automatic content size recalculation when sections expand/collapse
- Optional size constraints (min/max width/height, aspect ratio control) for nested items, similar to the Child Layout options in the attached screenshot
This would greatly simplify building common UI patterns like:
- Settings menus with expandable categories
- Inventory/shop category lists
- Quest logs with expandable task details
- Achievement/collection lists with group sections
Attached screenshot shows the kind of layout controls I'm referring to (Child Layout size overrides, min/max dimensions, aspect ratio).
I'd like to add native support for nested collapsible/expandable lists to the Scroll component, similar to how Engine's Child Layout Group works.
Currently, implementing nested lists with collapsible sections in Druid requires a lot of boilerplate code: manually handling show/hide, recalculating Scroll content size, managing input priority for nested Scrolls, and dealing with layout jumps after expand/collapse.
The main features I'm looking for are:
This would greatly simplify building common UI patterns like:
Attached screenshot shows the kind of layout controls I'm referring to (Child Layout size overrides, min/max dimensions, aspect ratio).