FloatingPanel icon indicating copy to clipboard operation
FloatingPanel copied to clipboard

Unable to simultaneously satisfy constraints.

Open wanghe826 opened this issue 2 years ago • 1 comments

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

截屏2022-08-02 11 54 45

Steps to reproduce

Code example that reproduces the issue 截屏2022-08-02 12 01 23

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

wanghe826 avatar Aug 02 '22 04:08 wanghe826

In my case adding fpc.invalidateLayout() before presenting solved this problem.

VisualDeceit avatar Sep 22 '22 11:09 VisualDeceit