-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Click in accordion-heading clears $location #4104
Comments
Reproduction with latest from This looks like a problem for some reason with the anchor tag having |
To expand on this, Bootstrap uses the anchor tag in accordions to hook into the
Any other I'm a bit stumped as to the best approach here. |
@wesleycho I remember this being a pb for quite some time and we've kept adding / removing this href back and forth. I wonder if |
Aha, I found where I saw the issue with the empty href - #3799 . Perhaps that is more appropriately filed against the router though, if it hasn't been already. I will change all usage to empty |
Right. I think that there are some corner cases with empty |
Linking issues, #5361, #4777, #4533, and #3199. For the relevant conversation in Bootstrap, see this thread. |
It seems using the empty href would cause issue #6262. |
Hi,
I noticed a bug in a new version 0.13.2 (it is OK in 0.13.0).
I am using buttons inside of "accordion-heading" section, which worked fine in previous version, but latest release negatively affects location - it clears it completely. In other words: $location.path() is cleared after every single click on one of these buttons.
I created a plunker, so you should be able to easily check it. All you have to do is to open a preview window to see the URL.
Example usage:
Plunker: http://plnkr.co/edit/Ub43PHtVxnPbmRzU0mAJ?p=preview
The text was updated successfully, but these errors were encountered: