Skip to content

fix(app-bridge-app): send the handshake to window.parent instead of window.top - #1697

Open
SedukhinaPolina wants to merge 1 commit into
mainfrom
fix/app-bridge-app-notify-parent-window
Open

SedukhinaPolina wants to merge 1 commit into
mainfrom
fix/app-bridge-app-notify-parent-window

Conversation

@SedukhinaPolina

Copy link
Copy Markdown
Contributor

Apps couldn't connect when their host is itself in an iframe, like the new Finder embedded in a customer page: the handshake went to window.top (the customer page) instead of the frame that embedded the app. Now it goes to window.parent. When the app frame sits directly in the web app, the two are the same window, so nothing changes there.

🧪 How to test

I tested it with a local build linked into the QR code app, opened from the Finder embedded in a standalone page. The app connects and uploads.

@SedukhinaPolina
SedukhinaPolina requested a review from a team as a code owner October 9, 2026 13:59
@changeset-bot

changeset-bot Bot commented Oct 9, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 15680f7

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@frontify/app-bridge-app Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

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.

1 participant