Skip to content

configureAnchors is ignored #73

@alainib

Description

@alainib

hello

no matter what i put in configureAnchors, it doesn't change anything.

for example adding this has no effect :

 import {goToAnchor, configureAnchors} from "react-scrollable-anchor";
 configureAnchors({offset: -260, scrollDuration: 1200});

this too :

 import {goToAnchor, configureAnchors} from "react-scrollable-anchor";
 configureAnchors({offset: 60, scrollDuration: 200});

but the goToAnchor work

      onClick={() => {          
        goToAnchor("graph");
      }}

any idea ? thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions