FloatingPanel
FloatingPanel copied to clipboard
Unable to simultaneously satisfy constraints.
Description
Unable to simultaneously satisfy constraints. Probably at least one of the constraints in the following list is one you don't want. Try this: (1) look at each constraint and try to figure out which you don't expect; (2) find the code that added the unwanted constraint or constraints and fix it. (Note: If you're seeing NSAutoresizingMaskLayoutConstraints that you don't understand, refer to the documentation for the UIView property translatesAutoresizingMaskIntoConstraints)
Expected behavior
No constraints errors.
Actual behavior
Steps to reproduce
Code example that reproduces the issue
How do you display panel(s)?
- Present modally
How many panels do you displays?
- 1
Environment
MacOS 12.3.1 iPhone 8 Plus
Library version 2.5.3
Installation method
- CocoaPods
iOS version(s) 14.8
Xcode version 13.2.1
In my case adding fpc.invalidateLayout()
before presenting solved this problem.