question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[bug] wagmi version > 8 seems to be causing rainbowkit to be buggy

See original GitHub issue

Is there an existing issue for this?

  • I have searched the existing issues

RainbowKit Version

0.7.4

wagmi Version

0.8.3

Current Behavior

The bugs I have experienced so far: When I disconnect from wallet using the <ConnectButton />'s account modal, after disconnecting,

  1. connect modal pops up, selecting MetaMask browser in chrome triggers the account modal.
  2. close button does not work in connect modal.
  3. does not disconnect properly (when I manually go to another url of my app using the browser search bar, wallet seems to remain connected)

Expected Behavior

Fix buggy behaviour to being compatible with the latest wagmi version 😃

Steps To Reproduce

No response

Link to Minimal Reproducible Example (CodeSandbox, StackBlitz, etc.)

No response

Anything else?

No response

Issue Analytics

  • State:closed
  • Created 10 months ago
  • Reactions:2
  • Comments:16 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
JoeyKhdcommented, Dec 7, 2022

+1

seems to still be the case

1reaction
junhuang-hocommented, Nov 17, 2022

Here is a minimal reproducible code (NextJS): https://github.com/junhuang-ho/test-rainbowkit

Connect to metamask wallet then disconnect. The problems stated should arise.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Installation - RainbowKit
This will prompt you for a project name, generate a new directory containing a boilerplate project, and install all required dependencies.
Read more >
Why am I unable to import @rainbow-me/rainbowkit/styles.css?
I have made sure npm is latest version and so are rainbowkit and wagmi. My import statement: import '@rainbow-me/rainbowkit/styles.css'. result:.
Read more >
Complete guide to RainbowKit and Wagmi for your frontend
A guide about going from Hardhat, to deploying and verifying to connecting it to the frontend with Rainbow and Wagmi.
Read more >
Rainbow-Me Rainbowkit Statistics & Issues - Codesti
Issue Title State Comments Created Date Updated Date Disconnection feature not working properly open 0 2022‑12‑12 2022‑12‑10 Update wagmi to 0.9.x closed 10 2022‑12‑09 2022‑12‑10 rainbowkit...
Read more >
Connect wallet in your Next.js app using RainbowKit, Wagmi ...
It is used in conjunction with wagmi and ethers.js. ... wallet in your Next.js app using RainbowKit, Wagmi, Ethers - FIX Hydration Error...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found