Skip to content

Fix getOffset function to render elements in iframe offset from the p…#1934

Open
Coder2002-MSAdithya wants to merge 1 commit into
usablica:masterfrom
Coder2002-MSAdithya:iframe-fix
Open

Fix getOffset function to render elements in iframe offset from the p…#1934
Coder2002-MSAdithya wants to merge 1 commit into
usablica:masterfrom
Coder2002-MSAdithya:iframe-fix

Conversation

@Coder2002-MSAdithya

Copy link
Copy Markdown

This fix does NOT affect any other parts of the project and is also backward compatible. This idea was originally given by arjshiv(Arjun Kannan) back in 2015

@vercel

vercel Bot commented Jun 13, 2023

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
intro-js ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 13, 2023 6:19am

Comment thread src/util/getOffset.ts
left: 0
}

if((element) && (element.ownerDocument !== window.document))

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you add e2e tests for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants