scaffold-eth / scaffold-eth-2

Open source forkable Ethereum dev stack
https://scaffoldeth.io
MIT License
1.41k stars 887 forks source link

bug: anchor tags with _blank as target trigger nprogress bar #908

Closed portdeveloper closed 3 months ago

portdeveloper commented 3 months ago

Is there an existing issue for this?

Which method was used to setup Scaffold-ETH 2 ?

git clone

Current Behavior

Currently the anchor tags to external websites trigger a nprogress bar that takes a lot of time to complete and fill

Expected Behavior

Anchor tags to external websites should not trigger an nprogress bar

Steps To Reproduce

  1. Go to page.tsx
  2. Add this somewhere: `

    View on GitHub

        </a>
        `

    Click the button and go back to the se-2 page to see the nprogress bar.

Anything else?

Here is the video showcasing the problem.

https://github.com/user-attachments/assets/c585465f-4092-4af5-a7fe-e7a16a6c4c75

originally fixed in: https://github.com/BuidlGuidl/extensions-hackathon/pull/23#event-13881221641