Skip to content

Conversation

@holtkamp
Copy link

@holtkamp holtkamp commented Dec 2, 2015

As reported in #9:

  • the plugin applies its functionality on all .list-group elements
  • this breaks internal links like: <a href="#page-section1">Go to Section 1</a>

The suggested solution is to:

  • only return false / stop the "click" event from propagating, when href="#" is used
  • return true otherwise.

This way internal links work again and when using href="#" the page does not scroll to the top, probably the reason why false was always returned.

@holtkamp
Copy link
Author

holtkamp commented Mar 5, 2016

Small bump on this? Anything blocking a merge of this PR?

holtkamp added a commit to holtkamp/listgroup.js that referenced this pull request Mar 8, 2016
As suggested on rickardn#10, no response, needed the bower.json which is in this fork
@holtkamp
Copy link
Author

holtkamp commented Jan 8, 2018

Shameless bump on this 😄

@holtkamp holtkamp requested a review from rickardn February 17, 2020 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant