Allow for constraints to be applied to more complex hierarchies
simonrowlands opened this issue · comments
Currently the constraint library allows for two views within the same parent view to have constraints to each other by applying the constraint to the parent view.
We do not allow for two views within the same subtree, but with different parent views, to apply constraints to each other.
The way to resolve this is to apply the constraints to the top-most common superview in the tree.