It appears the Active flag doesn't get set inside the CreateConstraint() method inside FluentLayout.
This means, if you create 2 or more competing constraints, set the one you want to active, then call UIView.AddConstraints they will all get set to Active = true and you'll get a bunch of errors about constraints not being satisfied.
You then need to set Active flags after setting UIView.AddConstraints.
Ideally, CreateConstraint() should set the active flag so we can add them in UIVew.AddConstraints and not get any issues or have the state reset.
It appears the Active flag doesn't get set inside the CreateConstraint() method inside FluentLayout.
This means, if you create 2 or more competing constraints, set the one you want to active, then call UIView.AddConstraints they will all get set to Active = true and you'll get a bunch of errors about constraints not being satisfied.
You then need to set Active flags after setting UIView.AddConstraints.
Ideally, CreateConstraint() should set the active flag so we can add them in UIVew.AddConstraints and not get any issues or have the state reset.