Won Heo (Woody)
Won Heo (Woody)
The issue appears to be resolved, so I will close it. If you have any additional feedback, please leave a comment!
Great work! Thank you. While reviewing the implementation, I was wondering whether using generics here brings significant benefits, given that FlexLayoutCompatible enforces inheritance from UIView. Since every Base is essentially...
This is an issue that can also occur in CSS flex layouts. In CSS, you can adjust for this using the calc() function, but this feature is not available in...
Feel free to leave a comment if you have any additional feedback.
Could you share a reproducible project or code?
```swift class TestView: UIView { override init(frame: CGRect) { super.init(frame: .zero) self.flex.addItem(UIView()) DispatchQueue.main.asyncAfter(deadline: .now() + 1) { self.subviews.forEach { $0.removeFromSuperview() } self.flex.markDirty() } } } ``` In the code above,...
The current options are to either remove the container’s flex markDirty, or call flex.layout() when the view changes dynamically (which updates the Node tree based on the current UIView hierarchy)....