Skip to content

Comments

Refactor message handling in iframe selection hooks to validate messa…#378

Merged
Stivenjs merged 1 commit intomainfrom
cli
Nov 14, 2025
Merged

Refactor message handling in iframe selection hooks to validate messa…#378
Stivenjs merged 1 commit intomainfrom
cli

Conversation

@Stivenjs
Copy link
Contributor

…ge type instead of origin

This commit updates the message handling logic in the useIframeSelection hook and the event-handlers module to process messages based on their type rather than their origin. This change allows for better functionality in production environments where iframes may be hosted on different domains, ensuring that only relevant messages are processed. The code is streamlined for clarity and improved maintainability.

…ge type instead of origin

This commit updates the message handling logic in the useIframeSelection hook and the event-handlers module to process messages based on their type rather than their origin. This change allows for better functionality in production environments where iframes may be hosted on different domains, ensuring that only relevant messages are processed. The code is streamlined for clarity and improved maintainability.
@Stivenjs Stivenjs self-assigned this Nov 14, 2025
@Stivenjs Stivenjs merged commit 3705321 into main Nov 14, 2025
6 checks passed
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