This repository has been archived by the owner on May 29, 2019. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(tabs): remove superfluous href from tabs template
- Loading branch information
38c1bad
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this change is in the spirit of bootstrap. In bootstrap when you hover over a tab, the pointer/hand cursor is shown. By removing the href, the text cursor is now used.
38c1bad
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nathasm is correct, without the href the text cursor is showing which is awkward.
38c1bad
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nathasm @mromanuk so we've got a bit of a problem here as those additional
href
attributes were breaking apps of several people - basically those links were triggering navigation (page reload). Sadly I never saw a reproduce scenario for this reload case so hard to say what was the exact problem.In any case dropping
href
attributes is the AngularJS-way of creating clickable links. So we seem to have a bit of a conflict here between Bootstrap's spirit and AngularJS spirit.Not sure how to make both happy here but I figured that it is easier to change CSS as compared to tracking down reload issues.
38c1bad
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hmm.. We could possibly add a
style="cursor: pointer;"
attribute to the template instead? Since it is different than the bootstrap default.38c1bad
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ajoslin This will be problematic for example in disabled state.