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.

Component Navs bug??

See original GitHub issue

I am using bootstrap v4.0 with angular, but I meet some problems about component navs like this:


Firstly, I navigate to ‘help’, it works fine, current url is http://localhost:4201/help.

help_01

But if I refresh the whole page, I get this(same url): after_refresh

This is my code:

<ul class="nav nav-tabs justify-content-end">
  <li class="nav-item">
    <a class="nav-link active" routerLink="/index" routerLinkActive="active">Introduction</a>
  </li>
  <li class="nav-item">
    <a class="nav-link" routerLink="/analysis" routerLinkActive="active">Analysis</a>
  </li>
  <li class="nav-item">
    <a class="nav-link" routerLink="/help" routerLinkActive="active">Help</a>
  </li>
  <li class="nav-item">
    <a class="nav-link" routerLink="/fqa" routerLinkActive="active">FQAs</a>
  </li>
</ul>

Is it a bug or I use it with a wrong way??

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
OnlyBeltercommented, Sep 26, 2017

@sarbull Thanks, that’s my fault.

1reaction
XhmikosRcommented, Sep 20, 2017

@OnlyBelter: why are you using active for all nav-links?

Read more comments on GitHub >

github_iconTop Results From Across the Web

android - Nav Component immediately invoked navigate to ...
Nav Component immediately invoked navigate to destination causes a bug ... to ommit my startDestination in nav graph in certain situation.
Read more >
Nav Component immediately invoked navigate to destination ...
Coding example for the question Nav Component immediately invoked navigate to destination causes a bug-kotlin.
Read more >
Nav modifier component broken in blueprints
The nav modifier component in blueprint is broken, in 4.7.6 they worked like the normal nav modifier volumes. At the moment the nav...
Read more >
Resolved: Custom nav menu bug - Bugs
Hi, I'm looking … and … I think I understand. Is the “Dropdown” component triggering the “Main Nav Button” when clicked? Also, how...
Read more >
Figma mobile Nav bar bug? - Ask the community
Hello, Within the figma mobile app - the lower nav bar within figma doesnt minimize? Which means that nav components within the prototypes ......
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