My approach to that is different.
If I use a “fold away” function, I’m not interested in anything of the section I’m “folding away” but in having the maximum available space (for the map in this case)…
In the old UI this was perfectly fine: if enough space/when working on the route’s points > keep sidebar visible; if not enough space or if visible map space was more important > fold sidebar away completely.
In the new UI this is now somewhat clumsy: if enough space/when working on the route’s points > keep sidebar visible [so far, so good]; if not enough space or if visible map space is more important > fold sidebar “halfway” horizontal up where it STILL uses screen space [which I do NOT want in that case]!??
Maybe allowing for both “fold away” types could be possible in the future!?