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
Currently the plugin applies the ListGroup 'selecting' behavior to all elements with class 'list-group' by default.
Effectively, it intercepts the clicks. This 'breaks' the following code-snipet that we used as a kind of "Table Of Contents":
<divclass="list-group"><aclass="list-group-item" href="#chapter-1-section-1">Go to Section 1.1</a><aclass="list-group-item" href="#chapter-1-section-2">Go to Section 1.2</a><aclass="list-group-item" href="#chapter-1-section-3">Go to Section 1.3</a><aclass="list-group-item" href="#chapter-1-section-4">Go to Section 1.4</a><aclass="list-group-item" href="#chapter-1-section-5">Go to Section 1.5</a></div>
Is there a way the internal link as used in the href attribute of the involved anchor is still respected => the browser scrolls to that section as it would do without the plugin loaded?
The text was updated successfully, but these errors were encountered:
walking into this issue again, now for external hyperlinks. Maybe the class that listgroup.js uses to apply its functionality can be made configurable (defaulting to "list-group")? This would be the easiest and quite powerful approach I would say. My JavaScript is not great, otherwise I would come up with a PR...
Currently the plugin applies the ListGroup 'selecting' behavior to all elements with class 'list-group' by default.
Effectively, it intercepts the clicks. This 'breaks' the following code-snipet that we used as a kind of "Table Of Contents":
Is there a way the internal link as used in the
href
attribute of the involved anchor is still respected => the browser scrolls to that section as it would do without the plugin loaded?The text was updated successfully, but these errors were encountered: