You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The workaround I found is to have <a> element (or any link) in the shadow dom explicitly call <a @click= router.navigate()>
I may like this even better than having to call updatePageLinks() explicitly whenever dom is updated.
When using web components that include links in their shadow DOM,
document.querySelectorAll()
won't find navigo links selectors.A workaround could be to allow the
updatePageLinks
API to take root elements to look from:That way, we could allow shadow roots to be updated by providing them as roots to update.
The text was updated successfully, but these errors were encountered: