Skip to content

Commit

Permalink
fix: firefox and IE scroll sync after deps update
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanHotsiy committed May 5, 2017
1 parent 9f636cc commit ad04636
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/components/Redoc/redoc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export class Redoc extends BaseComponent implements OnInit {
//parse options (top level component doesn't support inputs)
optionsMgr.parseOptions( this.element );
let scrollParent = detectScollParent( this.element );
if (scrollParent === DOM.defaultDoc().body) scrollParent = window;
if (scrollParent === (document.scrollingElement || document.body)) scrollParent = window;
optionsMgr.options.$scrollParent = scrollParent;
this.options = optionsMgr.options;
this.lazyTasksService.allSync = !this.options.lazyRendering;
Expand Down

0 comments on commit ad04636

Please sign in to comment.