Yes, there is also map.reposition and what I thought was going to be the key, the reposition() event.
Calling map.resize and map.reposition works when you call it at the right time, but for flexible enough ui there is no real way to manually call those methods on map for every single combination on when the map is going to be displaced. It has to be an event that tells you when the reposition happen. I of course tried listening for the reposition event, but it does not work. It only works when you resize the the browser window, but when you use the plank I shared, and add things to the dom, which causes the map to reposition, that event is not fired.
As I said, what is even more important is targeting different devices, now you have stacking of elements that will for sure move the map.