-
-
Notifications
You must be signed in to change notification settings - Fork 78.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scrollspy creates an invalid query selector #39198
Comments
Hello @ctron. Bug reports must include a live demo of the issue. Per our contributing guidelines, please create a reduced test case on CodePen or StackBlitz and report back with your link, Bootstrap version, and specific browser and Operating System details. |
Not enough info for now but might be linked to #39189 |
It looks similar indeed. What information is missing? |
If possible, please create a live demo of the issue so that we can reproduce it easily (see #39198 (comment)). It would save us a great deal of time 🙏 |
<!doctype html>
<html lang="en-US">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.1/dist/css/bootstrap.min.css" rel="stylesheet"
crossorigin="anonymous">
</head>
<body data-bs-spy="scroll" data-bs-target="#toc" tabindex="0">
<nav class="navbar navbar-expand-lg">
<a target="_blank" href="https://matrix.to/#%2F%40ctron%3Adentrassi.de" title="Link to my matrix address">
Foo
</a>
</nav>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.1/dist/js/bootstrap.bundle.min.js"
crossorigin="anonymous"></script>
</body>
</html> |
CodePen created from this comment: https://codepen.io/julien-deramond/pen/qBLPYBd. |
Prerequisites
Describe the issue
Having the scrollspy and and a link to a matrix account, in the form of
https://matrix.to/#/@ctron:dentrassi.de
orhttps://matrix.to/#%2F%40ctron%3Adentrassi.de
causes and exception:Reduced test cases
https://codepen.io/julien-deramond/pen/qBLPYBd
href="https://matrix.to/#/@ctron:dentrassi.de"
What operating system(s) are you seeing the problem on?
Linux
What browser(s) are you seeing the problem on?
Firefox
What version of Bootstrap are you using?
5.3.1
The text was updated successfully, but these errors were encountered: