Some really exciting releases following Config, great work!
Little-big-detail regarding the absolute positioning feature. It would be great to have the fill width option for absolutely positioned elements (like an absolute element with a relative parent would be able to do in CSS).
Would love to use the new absolute positioning in my dropdowns but this is hindering that.
I think this is still a problem. I have been working on a large file with a UI with quite a few nested symbols (using the excellent Carbon Design System by IBM). Here is what I noticed that had me pulling my hair out and in the end giving up on the idea to have a fully responsive design/prototype in Figma.
Nested symbol instances can (and will) override their resizing. So say you have a bunch of elements, lets say dropdowns, in a vertical Auto layout, like you would in a form on a mobile. In the symbol I would have Auto Layout on the whole frame and then set each child (so each dropdown) to fill the container.
Now if I place that symbol with the group of dropdowns somewhere I would expect that the children will always remain set to “fill container”. Well, they don’t. A lot of times they will end up set to “fixed”. Even pressing “Reset all changes” on the symbol does not revert the resizing.
So if you have like 20 instances of that group of dropdowns you will be doing a lot of clicking through to the children and setting them all to “fill container” again.
I find it confusing and inconsistent that you can only use fill container in an auto layout, but absolute positioning OUTSIDE an auto layout. @Oscar_Nilsson You mention the “pin to left/right” method, which is great. But couldn’t we just have “fill container” and it does the same thing, it just pins to left and right with 0 margin. It would make it so much easier to just have one thing. Fill container means fill the space of the parent.
It means that to achieve a totally common use case: responsive website with static menu, you have to utilize 2 different mechanisms in Figma.
Sometimes Fill container just doesn’t work at all until you go in and toggle the resizing back and forth. Of course that is super annoying when you build large prototypes.
Note in the video how the header is all one component. I have set everything up correctly on the main component. Why do all the instances have different resizing again on child elements? Why can you even override that?
Here is hoping that at some point Auto Layout and resizing just works as flawlessly as expected. I think a good start would be to never revert to “fixed width” unless I select it. I must have reset things to fill container or hug contents hundreds of times now on just that one prototype.
Oh yeah, here is another good one. @Oscar_Nilsson that pin-to-left-and-right trick is not very intuitive if combined with fixed position.
The left-right option is greyed out for fixed elements. But if you toggle it off, then select left-right and then toggle it back on you can have it selected AND greyed out, which makes no sense and is terrible UX. At least it works though. So why have it greyed out in the first place? Why can’t a fixed element be pinned to left and right?