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.

q-drawer-link - not getting active on '' path

See original GitHub issue

Hi, Simple like that: don’t know why, but q-drawer-link does not get active state on home "/" path with nested routes (don’t know if it’s the same with not nested)

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
rstoenescucommented, Dec 4, 2016

Please always check documentation when something seems to not work. Saves us both time 😃

0reactions
zolotov88commented, May 6, 2017

I have same problem right now. This gets active class:

<router-link 
  to="/users" 
  tag="div" 
  class="item item-link drawer-closer"
>
  <div class="item-content">
    Пользователи
  </div>
</router-link>

but this:

<q-drawer-link to="/users">
  Пользователи
</q-drawer-link>

or this:

<q-drawer-link :to="{path: '/users', exact: false}">
  Пользователи
</q-drawer-link>

don’t. Am I doing something wrong?

Read more comments on GitHub >

github_iconTop Results From Across the Web

In Angular, how do you determine the active route?
i have one dynamically generated menu and router-link-active class is not being added to the active a or li . but there is...
Read more >
Links with no path get active class on front page - Drupal
What is the expected behaviour? Nolinks should not contain either data-drupal-link-system-path or is-active on any page.
Read more >
No Time for Exercise? Here Are 7 Easy Ways to Move More!
Now you can find at least 150 minutes each week to get physically active! Don't worry, there are plenty of easy, no-cost ways...
Read more >
7 Easy Ways to Start Getting Active -
Not Getting Enough Exercise? Try These Seven Tips to Get Active. · 1. Participate in a New Sport · 2. Walk More ·...
Read more >
The path to active living: physical activity through community ...
Background: Somerville, Massachusetts, an ethnically diverse, urban community northwest of Boston, presents opportunities and challenges for active living.
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