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
Thanks for the issue! So the ion-button component is working as intended. This element should always look like a button element, even if it is rendering an a tag underneath.
We have another element called an ion-anchor that should work the same with the router, but I just noticed it is not getting the correct styles. I'll be pushing a fix for this shortly and then we'll have that in the next release. 🙂
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.
Bug Report
Ionic Info
Describe the Bug
Breaking changes documentation says "Ionic will determine when to render an anchor tag based on the presence of an href attribute."
https://github.com/ionic-team/ionic/blob/master/angular/BREAKING.md
However, an ion-button with an href or routerLink attribute looks the same as a button and is not styled like an anchor tag.
Steps to Reproduce
Steps to reproduce the behavior:
Related Code
Expected Behavior
Expecting element to look like an anchor e.g.underlined text.
The text was updated successfully, but these errors were encountered: