solana-wallets-vue icon indicating copy to clipboard operation
solana-wallets-vue copied to clipboard

modal window trigger

Open alexandr-kazakov opened this issue 2 years ago • 2 comments

How can I open a modal window with a wallet selection so that the user does not have to click on the button(WalletMultiButton)?

chrome_lWnboqW1XJ

alexandr-kazakov avatar Jun 03 '22 13:06 alexandr-kazakov

If you go into the source towards WalletMultiButton.vue you can see how the wallet-modal-provider achieves this. Then it's just a matter of wrapping your button in the wallet-modal-provider as such and it works image

cryptoboole avatar Feb 15 '23 12:02 cryptoboole

@cryptoboole

Any way not have the button and just go direct to the modal if not connencted? instead of clicking btn open modal, just show the options without any modal or button!

FreeLancerPT avatar Mar 02 '24 05:03 FreeLancerPT