react-ui-scrollspy icon indicating copy to clipboard operation
react-ui-scrollspy copied to clipboard

Option to disable url appending hash

Open angelinekwan opened this issue 2 years ago • 1 comments

Could you advice how to disable the page url from appending active section as hash? The reason is because the page has other section (hero) that is not part of the scrollspy <ScrollSpy> . This cause the page when load to scroll directly to the 1st ScrollSpy element and skipping the rest of the page content.

<hero /> -> height 90vh
<nav />
<ScrollSpy>
<div>
<div>
<ScrollSpy>

Thanks in advance.

angelinekwan avatar Mar 29 '22 19:03 angelinekwan

add this attribute useDataAttribute=""

iamanwar94 avatar Oct 27 '22 10:10 iamanwar94

Had a similar problem, this should help #10

GuilhermeRaposo avatar Dec 06 '22 06:12 GuilhermeRaposo