alexkatz / react-tiny-popover

A simple and highly customizable popover react higher order component with no other dependencies! Typescript friendly.
MIT License
454 stars 121 forks source link

Possible to get this working inside an iframe? #30

Closed volkandkaya closed 2 years ago

volkandkaya commented 5 years ago

Trying to get it working inside an iframe but it doesn't align to the HTML element.

I'm trying to use contentLocation={{ left:left + rect.left, top: top + rect.top - 6 + plus + (rect.onClickTop || 0) - (rect.offsetTop || 0) }}

alexkatz commented 2 years ago

The problem here is unclear to me, as all code sandboxes demonstrate popovers working within iframes.

Going to close this, but please open an issue describing a specific issue in more detail if you're still running into this problem.