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 f763480 commit 1b4fd38Copy full SHA for 1b4fd38
src/utils/getPosition.js
@@ -274,7 +274,7 @@ const calculateOffset = (offset) => {
274
const getParent = (currentTarget) => {
275
let currentParent = currentTarget
276
while (currentParent) {
277
- if (currentParent.style.transform.length > 0) break
+ if (window.getComputedStyle(currentParent).getPropertyValue('transform') !== 'none') break
278
currentParent = currentParent.parentElement
279
}
280
0 commit comments