
Description
I wrapped UIView in a ASDisplayNode block and put it in stack layout in 1 ASTableCell. When UIView size changed (said there're some images/videos like html pages delegate callback), the wrapper ASDisplayNode doesn't know about it at all, even when I called a setNeedLayout() on it.
And so the cell is not resized correctly.
textContentNode = ASDisplayNode { [unowned self] () -> UIView in
let textView = CustomUIView()
textView.attributedString = attrText
textView.delegate = self
return textView
}
My cell layout structure
==========Cell==========
[HEADER STACK /]
[STACK TEXT NODE]
====== textContentNode= =====
[/STACK TEXT NODE]
[FOOTER STACK /]
==========Cell==========
Did I miss something or this is a problem? Really appreciate the awesome library!