Closed web-padawan closed 7 years ago
This happens when scrollToHash is called in Safari 9.1, when using webcomponents-lite.js which doesn't shim /deep/ selector. The reason is this code:
scrollToHash
webcomponents-lite.js
/deep/
hashElement = document.querySelector('html /deep/ ' + hash)
I'll send a PR with some kind of workaround. In the future, I suggest replacing this logic by dispatching an event (this would be a breaking change).
This happens when
scrollToHash
is called in Safari 9.1, when usingwebcomponents-lite.js
which doesn't shim/deep/
selector. The reason is this code:I'll send a PR with some kind of workaround. In the future, I suggest replacing this logic by dispatching an event (this would be a breaking change).