Closed anmolrajpal closed 4 years ago
Trying to reproduce this problem, I'm able to see the warning but not to cause the slider to disappear. Please add code that reproduces the disappearance problem, so I can find how to solve it.
@anmolrajpal Still a problem? To help me help you, please create a minimal reproducible project:
Example
directory.Then just link to your fork here.
Description of the problem: When implementing MultiSlider in SwiftUI Form, the height constraints break which causes the slider to disappear until I explicitly scroll back and forth to its position.
My Installation Process
Code Snippet
Debug Log
Will attempt to recover by breaking constraint <NSLayoutConstraint:0x283b5b890 multi_slider.height == 31 (active, names: multi_slider:0x137f04cb0 )>
[Warning] Warning once only: Detected a case where constraints ambiguously suggest a height of zero for a table view cell's content view. We're considering the collapse unintentional and using standard height instead. Cell: <SwiftUI.ListCoreCellHost: 0x13c214b00; baseClass = UITableViewCell; frame = (0 199.667; 374 0.666667); clipsToBounds = YES; autoresize = W; layer = <CALayer: 0x2818bd660>>