Trending nav item is repeating in header
See original GitHub issueSteps to reproduce:
- Go to https://github.com/sindresorhus/refined-github It’s added twice
- Click on a sub-repo navigation item - e.g. Issues tab.
This has been introduced relatively recently on master
.
Issue Analytics
- State:
- Created 6 years ago
- Comments:20 (16 by maintainers)
Top Results From Across the Web
why does my nav bar duplicate when navigating with .load()?
I have navigation bars in both the header and the footer of the page with 2 links each. Under that I have made...
Read more >Duplicate header and navigation on home page
Hi i'm in the process of building a new site using generatepress and elementor and it's being going fine until i built a...
Read more >Duplicate ID's created by navigation menu #8979 - GitHub
When we add a navigation menu with a mobile optimized version (dropdown) it will cause duplicated html ID's. SERanking will throw an error ......
Read more >Inconsistent Repeating of a Table Header Row (Microsoft Word)
Sometimes when creating a table in Word, Dick cannot make the top row repeat across all pages containing the table.
Read more >Are You Making These Common Website Navigation Mistakes?
A website's navigation has a huge impact on results. Here are 5 website navigation mistakes to avoid, from labels to drop-down menus.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’d rather not do that because it’d push the real problem under the rug, deprioritizing the issue. You don’t want an extension to run 10 times.
An easy way to work around this is to add the same code we have for most other items we add to the dom and check for it’s existence before adding it. Doesn’t solve the root cause of why the extension is running twice, but if it’s an odd edge case, it may be worth the time savings of solving it the quick and easy way, especially since we use that pattern for everything else.