Releases: freddydumont/gatsby-plugin-smoothscroll
Releases · freddydumont/gatsby-plugin-smoothscroll
Add parameter `blockPosition` to be able to change block position of smooth scroll
Validate selector
The function now makes sure that you pass in a valid selector before calling scrollIntoView
. There is a development-only console warning in case the selector is invalid.
- Validate selector before calling
scrollIntoView
f2cd6f7
Add typescript types
- Add typescript types 2148b8a
v1.0.3
- Fix typo in readme e9b4536
v1.0.2
- Update readme and description f6430cf
v1.0.1
- Add comment to scrollTo function 7d66d8e