diff --git a/apps/documenteditor/main/app/controller/Navigation.js b/apps/documenteditor/main/app/controller/Navigation.js index f528e131e..b36373da3 100644 --- a/apps/documenteditor/main/app/controller/Navigation.js +++ b/apps/documenteditor/main/app/controller/Navigation.js @@ -112,6 +112,12 @@ define([ panelNavigation.viewNavigationList.on('item:add', _.bind(this.onItemAdd, this)); panelNavigation.navigationMenu.on('item:click', _.bind(this.onMenuItemClick, this)); panelNavigation.navigationMenu.items[11].menu.on('item:click', _.bind(this.onMenuLevelsItemClick, this)); + + var viewport = this.getApplication().getController('Viewport').getView('Viewport'); + viewport.hlayout.on('layout:resizedrag', function () { + if (panelNavigation.viewNavigationList && panelNavigation.viewNavigationList.scroller) + panelNavigation.viewNavigationList.scroller.update({alwaysVisibleY: true}); + }); }, updateNavigation: function() {