Closed werdnanoslen closed 4 months ago
ReactUSWDS Version & USWDS Version:
At least react-uswds v9.0.0
Describe the bug
This smooth scrolling leaks to any page where this package is used
https://github.com/trussworks/react-uswds/blob/db2e4f6e550ec316ec5637aeded3d720fec88d7b/src/components/InPageNavigation/InPageNavigation.module.scss#L1-L5
To Reproduce Steps to reproduce the behavior:
html
Expected behavior
It should only be applied where the InPageNavigation component is used.
Additional context
Device and Browser Information (please complete the following information if describing a UI bug):
All browsers
ReactUSWDS Version & USWDS Version:
At least react-uswds v9.0.0
Describe the bug
This smooth scrolling leaks to any page where this package is used
https://github.com/trussworks/react-uswds/blob/db2e4f6e550ec316ec5637aeded3d720fec88d7b/src/components/InPageNavigation/InPageNavigation.module.scss#L1-L5
To Reproduce Steps to reproduce the behavior:
html
rootExpected behavior
It should only be applied where the InPageNavigation component is used.
Additional context
Device and Browser Information (please complete the following information if describing a UI bug):
All browsers