scrollIntoView fails with invalid hash values
meryllblanchet opened this issue · 0 comments
meryllblanchet commented
Expected Behaviour
The loadLazy function can handle invalid hash value is provided in the URL (such as a 3rd party system could inject) without throwing an error.
Actual Behaviour
An error is thrown L95 by the main.querySelector
fucntion.
Reproduce Scenario (including but not limited to)
Run the boilerplate code in local, and enter a URL such as: http://localhost:3000/#old_hash=&from_ims=true
.
Check the navigator console.