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
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.
scrollIntoView
f2cd6f7