feat:fix Nested slider
This commit is contained in:
@@ -54,7 +54,11 @@ @interface DoricScrollerNode ()
|
||||
|
||||
@implementation DoricScrollerNode
|
||||
- (DoricScrollView *)build {
|
||||
return [DoricScrollView new];
|
||||
return [[DoricScrollView new] also:^(DoricScrollView *it) {
|
||||
if (@available(iOS 11, *)) {
|
||||
it.contentInsetAdjustmentBehavior = UIScrollViewContentInsetAdjustmentNever;
|
||||
}
|
||||
}];
|
||||
}
|
||||
|
||||
- (void)initWithSuperNode:(DoricSuperNode *)superNode {
|
||||
|
||||
Reference in New Issue
Block a user