project-serum / sol-wallet-adapter

Other
185 stars 92 forks source link

connect called from a frame #32

Open vladiuz1 opened 3 years ago

vladiuz1 commented 3 years ago

When oconnect called from within a frame, after successful connect a new window is opened with a blank page.

Although the calling window gets correct events (on('connec')... ) the usability is suffering.

need to remember that the method can be called form a frame or iframe.

example

https://codesandbox.io/s/intelligent-bardeen-4vwft?file=/src/index.js