First attempt to replace useNavScroll with react-scroll.
PR Checklist
[x] My branch is up-to-date with the Upstream main branch.
[ ] The unit tests pass locally with my changes (if applicable).
[ ] I have added tests that prove my fix is effective or that my feature works (if applicable).
[ ] I have added necessary documentation (if appropriate).
Short description of what this resolves:
Changes proposed in this Pull Request:
The modification works quite well, there is only one problem to solve: the activeClass function on the ScrollLink component only works the first time the component is rendered.
Both in the complete example with 4 components and with the test component.
It could be a storybook problem, since the components are fetched (if I didn't misunderstand)
First attempt to replace useNavScroll with react-scroll.
PR Checklist
main
branch.Short description of what this resolves:
Changes proposed in this Pull Request:
The modification works quite well, there is only one problem to solve: the activeClass function on the ScrollLink component only works the first time the component is rendered. Both in the complete example with 4 components and with the test component. It could be a storybook problem, since the components are fetched (if I didn't misunderstand)
To be implemented
Version with InLine menu