bootstrap icon indicating copy to clipboard operation
bootstrap copied to clipboard

Accordion - Click on heading causes route rather than accordion action

Open weberste opened this issue 13 years ago • 5 comments

In IE9 when using the accordion the a-tag which is used to implement the accordion causes a route to kick in.

As a workaround have added href="javascript:" to the template for the accordion heading which solves the problem for now.

weberste avatar Sep 19 '13 08:09 weberste

Not sure if it is bad practice but I usually just pass in a empty string href="" so that angular won’t trigger a route. Left me wondering what is the correct way on handling this.

qorsmond avatar Sep 19 '13 08:09 qorsmond

Have tried this first (and believe that's what the a directive does by default) but also does not work--route still kicks in.

weberste avatar Sep 19 '13 08:09 weberste

@weberste we need a minimal reproduce scenario using http://plnkr.co/ to move forward on this one.

pkozlowski-opensource avatar Sep 19 '13 12:09 pkozlowski-opensource

@weberste we haven't heard from you regarding the minimal reproduce scenario so going to close this one for now, Feel free to re-open when you've got minimal reproduce scenario.

pkozlowski-opensource avatar Sep 25 '13 05:09 pkozlowski-opensource

@pkozlowski-opensource that's ok; did not manage to produce a minimal example yet where I consistently witness the problem.

weberste avatar Sep 25 '13 06:09 weberste