You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
More on this.. It seems as though, this handleMessage would only fire when the parent receives a message from the child and that's only going to happen when the child is already in the DOM. I'm going to try to do some console log's on this to figure out what event or iframe state is causing this.
@srhyne I ended up fixing this issue in this commit and releasing it in version 3.1.1. It doesn't resolve the concerns I outlined in #28 (comment), though. I'm still thinking that through.
@Aaronius we are using Penpal for embedded lessons in ConveYour.com. We ❤️ it! Thank you!
I just upgraded from 3.0.7 to 3.1.0 and now we are getting this exception often. Here's the related line.
penpal/src/index.js
Line 392 in 843476f
It looks like in the previous version this variable was set prior to handleMessage method being created so held in a closure (right?).
What should I change in my setup to make sure I'm compliant with this change? Thank you!
The text was updated successfully, but these errors were encountered: