We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
position
1 parent 2d677ef commit 513f358Copy full SHA for 513f358
src/ResizeSensor.js
@@ -144,7 +144,7 @@
144
'</div>';
145
element.appendChild(element.resizeSensor);
146
147
- var position = window.getComputedStyle(element).getPropertyPriority('position');
+ var position = window.getComputedStyle(element).getPropertyValue('position');
148
if ('absolute' !== position && 'relative' !== position && 'fixed' !== position) {
149
element.style.position = 'relative';
150
}
0 commit comments