Merge pull request #80 from evands/fix-hiding-extension-view
Fix nav bar position after hiding the extension view
This commit is contained in:
commit
1f2517ed86
|
@ -362,8 +362,13 @@ 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];
|
||||
self.disable = wasDisabled;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue