You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When we call (re)makeConstraints, SnapKit would automatically set translatesAutoresizingMaskIntoConstraints = false. However, when call removeConstraints, this value wouldn't be reset (to true). Is this behavior by design?
The problem is that I have a view, it is first layout by SnapKit, then layout by frames. After I removeConstraints on the view, the frame layout behaved odd. I spent 2 hours to found that I have to manully set translatesAutoresizingMaskIntoConstraints back to true.
The text was updated successfully, but these errors were encountered:
New Issue Checklist
馃毇 If this template is not filled out your issue will be closed with no comment. 馃毇
Issue Info
Issue Description
When we call (re)makeConstraints, SnapKit would automatically set
translatesAutoresizingMaskIntoConstraints = false
. However, when call removeConstraints, this value wouldn't be reset (to true). Is this behavior by design?The problem is that I have a view, it is first layout by SnapKit, then layout by frames. After I removeConstraints on the view, the frame layout behaved odd. I spent 2 hours to found that I have to manully set
translatesAutoresizingMaskIntoConstraints
back to true.The text was updated successfully, but these errors were encountered: