diff options
author | Fabio Berger <me@fabioberger.com> | 2018-08-08 21:33:20 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-08-08 21:33:20 +0800 |
commit | 386b5bb122c189496e83da46cf53e8dfe83f0ee6 (patch) | |
tree | e532861d7087809299922a138d0920e3cd537a43 /packages/react-shared/src/components/nested_sidebar_menu.tsx | |
parent | ca67e7d36fb5eb91626a60156dbec4f67a7d52f7 (diff) | |
download | dexon-sol-tools-386b5bb122c189496e83da46cf53e8dfe83f0ee6.tar dexon-sol-tools-386b5bb122c189496e83da46cf53e8dfe83f0ee6.tar.gz dexon-sol-tools-386b5bb122c189496e83da46cf53e8dfe83f0ee6.tar.bz2 dexon-sol-tools-386b5bb122c189496e83da46cf53e8dfe83f0ee6.tar.lz dexon-sol-tools-386b5bb122c189496e83da46cf53e8dfe83f0ee6.tar.xz dexon-sol-tools-386b5bb122c189496e83da46cf53e8dfe83f0ee6.tar.zst dexon-sol-tools-386b5bb122c189496e83da46cf53e8dfe83f0ee6.zip |
Add back hashSpy
Diffstat (limited to 'packages/react-shared/src/components/nested_sidebar_menu.tsx')
-rw-r--r-- | packages/react-shared/src/components/nested_sidebar_menu.tsx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/react-shared/src/components/nested_sidebar_menu.tsx b/packages/react-shared/src/components/nested_sidebar_menu.tsx index aef56690f..c8bddb59a 100644 --- a/packages/react-shared/src/components/nested_sidebar_menu.tsx +++ b/packages/react-shared/src/components/nested_sidebar_menu.tsx @@ -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} > |