Skip to content

Commit 6aee591

Browse files
real-artswanmportuga
authored andcommitted
fix(ui-grid): #6937 getScrollBarWidth for Firefox
1 parent d4129f0 commit 6aee591

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/core/src/js/services/ui-grid-util.js

+1
Original file line numberDiff line numberDiff line change
@@ -474,6 +474,7 @@ module.service('gridUtil', ['$log', '$window', '$document', '$http', '$templateC
474474
var widthNoScroll = outer.offsetWidth;
475475
// force scrollbars
476476
outer.style.overflow = "scroll";
477+
outer.style.position = "absolute"; //force Firefox to draw a scrollbar
477478

478479
// add innerdiv
479480
var inner = document.createElement("div");

0 commit comments

Comments
 (0)