-
-
Notifications
You must be signed in to change notification settings - Fork 514
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
.fitsBounts and constraint errors #294
Comments
I guess it's relevant to the distribution mode of your UIStackView because the surface height changes as following a user interaction in the mode as README mentioned. |
@scenee Thanks! So after more fiddling with Auto layout and constraints (which seems to be a science in itself), I managed to remove the errors by doing the following:
Thanks for the great library btw :) |
@scenee I have the same issue like @olliekav had. I find out that constraints break when I set Steps:
Here is the problem, because Hope it will help to resolve this issue. Thanks a lot for you library! |
Short description
I have a stack view that is the first child view of a view controller that is presented modally, but when I add constraints to the stack view to pin it the view edges (top/bottom/right/left = 0) I get a bunch of constraint errors. This stack view should resize based on half or full views of the panel.
I feel like I'm missing something here?
Steps to reproduce
Panel is presented via a button action
self.present(floatingPanel, animated: true, completion:nil)
Constraint errors in the console:
Environment
v1.7.0
Installation method
iOS version(s)
13
Xcode version
11.1
The text was updated successfully, but these errors were encountered: