Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: added support to send post messages to parent iframe #594

Merged
merged 1 commit into from
Sep 3, 2024

Conversation

ArushKapoorJuspay
Copy link
Contributor

Type of Change

  • Bugfix
  • New feature
  • Enhancement
  • Refactoring
  • Dependency updates
  • Documentation
  • CI/CD

Description

Post message events being sent on the top level were not working in scenarios where the SDK along with HyperLoader and event listeners is mounted inside an iframe.

Added support to listen to such events in the parent iframe and send these post messages on level above instead of directly sending it to the top parent.

How did you test it?

Screen.Recording.2024-09-03.at.5.03.18.AM.mov

Checklist

  • I ran npm run re:build
  • I reviewed submitted code
  • I added unit tests for my changes where possible

Copy link

Review changes with SemanticDiff.

@PritishBudhiraja PritishBudhiraja added the Ready for Review PR with label Ready for Review should only be reviewed. label Sep 2, 2024
@PritishBudhiraja PritishBudhiraja force-pushed the fix/netcetra-post-message branch from 0fbc749 to e1939b2 Compare September 2, 2024 23:57
@ArushKapoorJuspay ArushKapoorJuspay force-pushed the fix/netcetra-post-message branch from e1939b2 to a5176ae Compare September 3, 2024 09:27
@PritishBudhiraja PritishBudhiraja force-pushed the fix/netcetra-post-message branch from a5176ae to 7cb7a40 Compare September 3, 2024 10:12
@PritishBudhiraja PritishBudhiraja merged commit 638ccfc into main Sep 3, 2024
3 checks passed
@PritishBudhiraja PritishBudhiraja deleted the fix/netcetra-post-message branch September 3, 2024 10:15
@github-actions github-actions bot added Closed Label will be automatically added when the PR will get merged to main and removed Ready for Review PR with label Ready for Review should only be reviewed. labels Sep 3, 2024
akash-c-k pushed a commit that referenced this pull request Sep 3, 2024
## [0.84.11](v0.84.10...v0.84.11) (2024-09-03)

### Bug Fixes

* added support to send post messages to parent iframe ([#594](#594)) ([638ccfc](638ccfc))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Closed Label will be automatically added when the PR will get merged to main
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants