Use CSS.escape() to escape QuerySelectorAll()

added by DotNetKicks
4/11/2022 2:32:07 PM

206 Views

Ran into an issue recently where a querySelector operation was failing in document link navigation when navigating hashes. There are a few issues at work when using Hash navigation but one issue i didn't expect to run into was a naming conflict of a hash tag that interfered with CSS operators.


0 comments