Here's my feedback as someone coming from web development who desperately needs this:

As far as I can tell, nesting only works when the inside and outside of the container are both "size container to fit contents" as in the demo. Everything else I've done throws null errors. Documentation on nesting would be great.

As far as I can tell, flexible nested items just shrink GOs to zero no matter what the size or behaviors of their parent is. Seems like a bug to me.

I would really love to see an demo with an expanding container in a scrollable. I think 99% of responsive UIs need to dynamically display reactive series of components inside of a scrolled window.

If you're able to get these things working and documented, I'd leave a glowing review.

    gwelkind Hi! Thanks for the feedback, I can definitely improve the nested behaviours. Can you show me an example of the "expanding container in a scrollable" ? to make sure I understand exactly what you mean.

    Thanks

      Anthony Thanks for the speedy response, wow!

      Sure, seems really cumbersome to attach a photo in this forum but basically the hierarchy is

      Unity ScrollRect+RectMask
          ResponsiveContainer w/ Group Content in container and expand
             Content which is dynamic

      The other issue w/ this workflow (which I feel like is probably the most common mobile layout for displaying data), is that the container is either "OnUpdate" or "OnChange." OnChange will change if you add/remove items, but won't update automatically when you change screen sizes (which sucks for actually developing and testing). I feel like you need to attach to onWindowSizeChange as a separate option.

      Also, when you, say, add an item in a scrollRect, the actual yLocation of the container within the scrollrect changes instead of staying fixed at the top (if its contents are aligned at the top). Not sure if this is a Unity issue or on your end.

        a year later

        gwelkind Did you ever resolve this? I'm having similar issues and it sounds like we have similar setups, a scrollrect containing dynamic items which themselves are responsive.

          Write a Reply...