BDEVEXP-2382

* Fixed scrollbar to reset to top of it when 'jump to top' is clicked.
* updated version to 20.3.2 and bundled.
This commit is contained in:
Ashutosh Kumar Singh 2020-06-23 00:08:24 -04:00
parent 7cf825c334
commit 0361aa51dc
6 changed files with 18 additions and 11 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
{ {
"name": "otx-redoc", "name": "otx-redoc",
"version": "20.3.1", "version": "20.3.2",
"description": "ReDoc", "description": "ReDoc",
"repository": { "repository": {
"type": "git", "type": "git",

View File

@ -129,6 +129,10 @@ export class MenuStore {
itemIdx += step; itemIdx += step;
} }
if (window.pageYOffset === 0) {
itemIdx = 0;
}
this.activate(this.flatItems[itemIdx], true, true); this.activate(this.flatItems[itemIdx], true, true);
}; };