Skip to content

Commit

Permalink
fix(ui-grid): #6937 getScrollBarWidth for Firefox
Browse files Browse the repository at this point in the history
  • Loading branch information
real-artswan authored and mportuga committed May 20, 2019
1 parent d4129f0 commit 6aee591
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/core/src/js/services/ui-grid-util.js
Original file line number Diff line number Diff line change
Expand Up @@ -474,6 +474,7 @@ module.service('gridUtil', ['$log', '$window', '$document', '$http', '$templateC
var widthNoScroll = outer.offsetWidth;
// force scrollbars
outer.style.overflow = "scroll";
outer.style.position = "absolute"; //force Firefox to draw a scrollbar

// add innerdiv
var inner = document.createElement("div");
Expand Down

0 comments on commit 6aee591

Please sign in to comment.