js icon indicating copy to clipboard operation
js copied to clipboard

how to use setIsWalletModalOpen on v5

Open mateodaza opened this issue 1 year ago • 3 comments

I don't see any option to open the modal programmatically, can you guys help out?

mateodaza avatar Apr 15 '24 22:04 mateodaza

hey @mateodaza I don't think we support this yet, but we'll take a look! cc: @MananTank

jnsdls avatar Apr 17 '24 20:04 jnsdls

@mateodaza - This is in our roadmap, We'll soon add a hook for this (ideally by next week)

MananTank avatar Apr 19 '24 14:04 MananTank

I think there is still no way to programatically open the modal in the latest release Can't use useSetIsWalletModalOpen

levitatejay avatar May 15 '24 05:05 levitatejay

Hi @levitatejay - This feature is now available in the latest version of thirdweb package via useConnectModal hook

Please refer to https://portal.thirdweb.com/references/typescript/v5/useConnectModal for more information:

MananTank avatar Jun 03 '24 17:06 MananTank

@MananTank Thanks that's worked great for sign in. I haven't been able to find a way to programatically open the Detail Modal (with the Send/Receive/Buy). Do you know if there's a way?

levitatejay avatar Jun 09 '24 11:06 levitatejay