From 0342820f943e733d8ca5949da89827e902465feb Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Tue, 1 Mar 2022 16:38:14 +0300 Subject: [PATCH] [DE] Fix Bug 55812 --- apps/documenteditor/main/app/controller/Navigation.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/apps/documenteditor/main/app/controller/Navigation.js b/apps/documenteditor/main/app/controller/Navigation.js index bbb6a0caa..f528e131e 100644 --- a/apps/documenteditor/main/app/controller/Navigation.js +++ b/apps/documenteditor/main/app/controller/Navigation.js @@ -61,6 +61,9 @@ define([ if (!me._navigationObject) me._navigationObject = obj; me.updateNavigation(); + } else { + if (me.panelNavigation && me.panelNavigation.viewNavigationList && me.panelNavigation.viewNavigationList.scroller) + me.panelNavigation.viewNavigationList.scroller.update({alwaysVisibleY: true}); } }, 'hide': function() { @@ -293,6 +296,8 @@ define([ arr[0].set('tip', this.txtGotoBeginning); } this.getApplication().getCollection('Navigation').reset(arr); + if (this.panelNavigation && this.panelNavigation.viewNavigationList && this.panelNavigation.viewNavigationList.scroller) + this.panelNavigation.viewNavigationList.scroller.update({alwaysVisibleY: true}); } },