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
|
@ -363,7 +363,12 @@ 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