mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-01 10:22:30 +02:00
fix(v2): fix docs sidebar highlighting if link is partially matched (#2061)
This commit is contained in:
parent
5adb58380c
commit
6ff66567e5
1 changed files with 1 additions and 0 deletions
|
@ -71,6 +71,7 @@ function DocSidebarItem({item, onItemClick, collapsible}) {
|
|||
<Link
|
||||
activeClassName="menu__link--active"
|
||||
className="menu__link"
|
||||
exact
|
||||
to={href}
|
||||
onClick={onItemClick}>
|
||||
{label}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue