Skip to content

Commit df4e7d0

Browse files
committed
Update ResizeSensor.js
1 parent 55899fb commit df4e7d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ResizeSensor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575

7676
element.resizeSensor = document.createElement('div');
7777
element.resizeSensor.className = 'resize-sensor';
78-
var style = 'position: absolute; left: 0; top: 0; right: 0; bottom: 0; overflow: scroll; z-index: -1; visibility: hidden;';
78+
var style = 'position: absolute; left: 0; top: 0; right: 0; bottom: 0; overflow: scroll; z-index: -1; visibility: hidden; opacity: 0;';
7979
var styleChild = 'position: absolute; left: 0; top: 0;';
8080

8181
element.resizeSensor.style.cssText = style;

0 commit comments

Comments
 (0)