I have a view inside a collection view cell, and simply want the view to grow/shrink with the collection view cell. I add constraints that work perfectly if the collection view cell was just a UIView, but for some reason it does not work. I'm suspecting it might be a bug with collection view cells, anyone tried this before?
Here is a screenshot of the setup. Super simple, red view inside collection view cell, I just want it to resize the same way the collection view cell does.

