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

Changes signature of onMessage #15

Closed
andreialecu opened this issue Sep 1, 2021 · 0 comments · Fixed by #16
Closed

Changes signature of onMessage #15

andreialecu opened this issue Sep 1, 2021 · 0 comments · Fixed by #16

Comments

@andreialecu
Copy link
Contributor

See:

typeof onMessage === 'function' && onMessage(nativeEvent);

I believe this should be onMessage({ nativeEvent });

With the current behavior, what seems to happen is that e.nativeEvent.data does not exist - and that's how it's supposed to work, but e.data does.

andreialecu added a commit to andreialecu/webshell that referenced this issue Sep 1, 2021
@jsamr jsamr closed this as completed in #16 Sep 1, 2021
jsamr pushed a commit that referenced this issue Sep 1, 2021
jsamr added a commit that referenced this issue Sep 1, 2021
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 a pull request may close this issue.

1 participant