Added a comment to explain the need to disable scroll handling
This commit is contained in:
parent
a01f96db81
commit
4f651d2547
|
@ -363,6 +363,8 @@ static void * const kTLYShyNavBarManagerKVOContext = (void*)&kTLYShyNavBarManage
|
|||
self.extensionViewContainer.frame = bounds;
|
||||
[self.extensionViewContainer addSubview:view];
|
||||
|
||||
/* Disable scroll handling temporarily while laying out views to avoid double-changing content
|
||||
* offsets in _handleScrolling. */
|
||||
BOOL wasDisabled = self.disable;
|
||||
self.disable = YES;
|
||||
[self layoutViews];
|
||||
|
|
Loading…
Reference in New Issue