|
@@ -94,6 +94,7 @@ class Sidebar extends React.Component {
|
|
|
// clear transition temporary when restore collapsed sidebar
|
|
// clear transition temporary when restore collapsed sidebar
|
|
|
if (this.sidebarCollapsedCached) {
|
|
if (this.sidebarCollapsedCached) {
|
|
|
this.clearNavigationTransitionTemporary(this.ctxNavigationElem);
|
|
this.clearNavigationTransitionTemporary(this.ctxNavigationElem);
|
|
|
|
|
+ this.clearNavigationTransitionTemporary(this.contentElem);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
navigationUIController.enableResize();
|
|
navigationUIController.enableResize();
|
|
@@ -113,6 +114,10 @@ class Sidebar extends React.Component {
|
|
|
return document.querySelector('div[data-testid="ContextualNavigation"]');
|
|
return document.querySelector('div[data-testid="ContextualNavigation"]');
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ get contentElem() {
|
|
|
|
|
+ return document.querySelector('div[data-testid="Content"]');
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
clearNavigationTransitionTemporary(elem) {
|
|
clearNavigationTransitionTemporary(elem) {
|
|
|
const transitionCache = elem.style.transition;
|
|
const transitionCache = elem.style.transition;
|
|
|
|
|
|