[DE] Fix Bug 55812

This commit is contained in:
Julia Radzhabova 2022-03-01 16:38:14 +03:00
parent 9ced8e6376
commit 0342820f94

View file

@ -61,6 +61,9 @@ define([
if (!me._navigationObject) if (!me._navigationObject)
me._navigationObject = obj; me._navigationObject = obj;
me.updateNavigation(); me.updateNavigation();
} else {
if (me.panelNavigation && me.panelNavigation.viewNavigationList && me.panelNavigation.viewNavigationList.scroller)
me.panelNavigation.viewNavigationList.scroller.update({alwaysVisibleY: true});
} }
}, },
'hide': function() { 'hide': function() {
@ -293,6 +296,8 @@ define([
arr[0].set('tip', this.txtGotoBeginning); arr[0].set('tip', this.txtGotoBeginning);
} }
this.getApplication().getCollection('Navigation').reset(arr); this.getApplication().getCollection('Navigation').reset(arr);
if (this.panelNavigation && this.panelNavigation.viewNavigationList && this.panelNavigation.viewNavigationList.scroller)
this.panelNavigation.viewNavigationList.scroller.update({alwaysVisibleY: true});
} }
}, },