`.selectedContainer` with non-collapsed selections

I understand it. I think the explanation below is much better though. You could probably just drop the above sentence and go with what you have below