lorisleiva / solana-wallets-vue

Solana wallet integration for Vue 3
https://solana-wallets-vue-demo.netlify.app/
173 stars 65 forks source link

Wallet Not Stays Connected #27

Open tiagoapp opened 2 years ago

tiagoapp commented 2 years ago

This appears to happen with latest versions of Vite (tried with Nuxt 3 RC8 and Vue 3)

Essentially the wallet connects but after refreshing the page - sometimes immediately on next refresh, sometimes takes a few refreshes - but the connection status is lost, forcing the user to keep clicking on 'connect' again

DjilanoS commented 2 years ago

@lorisleiva This issue has indeed nothing to do with the pull-request #33

Aanhane commented 2 years ago

I made PR #34 , can you check https://deploy-preview-34--solana-wallets-vue-demo.netlify.app/, @tiagoappetite @DjilanoS, and let me know if this version works for you?

lucalaneth commented 2 years ago

@Aanhane Just tried this on Chrome and Edge, still having the same issue.

tiagoapp commented 2 years ago

Yes, I still have the same issue (Phantom Wallet) - sometimes it seems to stick, but most of the time it just disconnects on page refresh.

Aanhane commented 2 years ago

Can you try again now, @lucalaneth @tiagoappetite? https://deploy-preview-34--solana-wallets-vue-demo.netlify.app/ is still the URL to test on.

Testamento commented 2 years ago

@Aanhane Works now with Phantom, both on Chrome and Edge. Nice job!

tiagoapp commented 2 years ago

Seems good now! Thanks!