feat:fix iOS UIImageView wrapcontent
This commit is contained in:
@@ -39,6 +39,7 @@ - (instancetype)initWithContext:(DoricContext *)doricContext {
|
||||
- (void)initWithSuperNode:(DoricSuperNode *)superNode {
|
||||
[super initWithSuperNode:superNode];
|
||||
self.reusable = YES;
|
||||
self.view.clipsToBounds = YES;
|
||||
}
|
||||
|
||||
- (DoricStackView *)build {
|
||||
|
@@ -152,4 +152,7 @@ - (void)clearSubModel {
|
||||
- (DoricViewNode *)subNodeWithViewId:(NSString *)viewId {
|
||||
return nil;
|
||||
}
|
||||
- (void)requestLayout {
|
||||
[self.view setNeedsLayout];
|
||||
}
|
||||
@end
|
Reference in New Issue
Block a user