We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d0ffa0 commit 9fe2fbfCopy full SHA for 9fe2fbf
src/ResizeSensor.js
@@ -195,7 +195,7 @@
195
196
var computedStyle = window.getComputedStyle(element);
197
var position = computedStyle ? computedStyle.getPropertyValue('position') : null;
198
- if ('absolute' !== position && 'relative' !== position && 'fixed' !== position) {
+ if ('absolute' !== position && 'relative' !== position && 'fixed' !== position && 'sticky' !== position) {
199
element.style.position = 'relative';
200
}
201
0 commit comments