Add back hashSpy
This commit is contained in:
@@ -69,6 +69,7 @@ export class AnchorTitle extends React.Component<AnchorTitleProps, AnchorTitleSt
|
||||
</div>
|
||||
<ScrollLink
|
||||
to={this.props.id}
|
||||
hashSpy={true}
|
||||
offset={headerSizeToScrollOffset[this.props.headerSize]}
|
||||
duration={constants.DOCS_SCROLL_DURATION_MS}
|
||||
containerId={constants.DOCS_CONTAINER_ID}
|
||||
|
@@ -94,6 +94,7 @@ export class NestedSidebarMenu extends React.Component<NestedSidebarMenuProps, N
|
||||
key={`menuItem-${menuItemName}`}
|
||||
to={id}
|
||||
offset={0}
|
||||
hashSpy={true}
|
||||
duration={constants.DOCS_SCROLL_DURATION_MS}
|
||||
containerId={constants.DOCS_CONTAINER_ID}
|
||||
>
|
||||
@@ -124,6 +125,7 @@ export class NestedSidebarMenu extends React.Component<NestedSidebarMenuProps, N
|
||||
<ScrollLink
|
||||
to={id}
|
||||
offset={0}
|
||||
hashSpy={true}
|
||||
duration={constants.DOCS_SCROLL_DURATION_MS}
|
||||
containerId={constants.DOCS_CONTAINER_ID}
|
||||
>
|
||||
|
Reference in New Issue
Block a user