ResponsiveRow breakpoints should be able to adapt to its own size instead of page size #4870
Open
1 task done
Labels
feature request
Suggestion/Request for additional feature
Duplicate Check
Describe the requested feature
In situations where the
ResponsiveRow
does not extend to the whole width of the page/window, it would make more sense to have thecol
breakpoints compared to the ResposiveRow's own size, instead of the page size.User defined breakpoints could help this somewhat, but are still not perfect solution:
Imagine case where e.g. half or the page width is used by Responsiverow, and half by something else (e.g. sidebars). In this case it is also possible to close the sidebars, which would increase the size allocated to ResponsiveRow. When the ResponsiveRow's size changes, you'd likely expect/want it to adapt the size of its children to its new size, but with the current implementation this does not happen.
Example code demonstrating the aforementioned issue:
Suggest a solution
You could either add option to ResponsiveRow to check breakpoints against it's own size, or change the default behavior altogether.
Screenshots
No response
Additional details
No response
The text was updated successfully, but these errors were encountered: