-
Notifications
You must be signed in to change notification settings - Fork 13.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ion-footer with ion-toolbar and ion-buttons not styled correctly #11638
Comments
Thanks for the issue! This is actually the expected behavior. By default, buttons inside of a toolbar should be inside of an
Here are all of the attributes the button takes: http://ionicframework.com/docs/api/components/button/Button/#input-properties There are some docs on buttons in a toolbar here: http://ionicframework.com/docs/components/#toolbar-buttons We could probably add an example or two of a solid button in a toolbar. Do you think this would be helpful? If you have any ideas for how we could better document this please let me know or create an issue on our ionic-site repository. Thank you. 🙂 |
Hi Brandy, -> By default, buttons inside of a toolbar should be inside of an OK, I wasn't aware that this was the case. I needed to use an Perhaps adding a link in the https://ionicframework.com/docs/components/#toolbar-buttons section to the http://ionicframework.com/docs/api/components/button/Button/#input-properties section might help. Thanks. |
Interestingly, start/end doesn't work correctly:
But, left/right does:
Steps to reproduce: |
I can't get the plunker to work for me, could you tell me what doesn't work about it? Here's how the attributes work:
These are documented here: http://ionicframework.com/docs/api/components/toolbar/Toolbar/#buttons-in-a-toolbar If you are seeing |
OK thanks, I had thought that |
unable to use ion-button inside ion-footer tag. |
Same thing here, a real hell, nothing in the documentation makes sense when the screen is rendered, I've spent many hours on it and nothing seems to solve this, I just want to put two buttons in the footer, one with the "Save" and the other with the "Cancel", something as simple as that does not work on Ionic, super frustrating.
I wish I could attach here the screen. |
@franzisk as this is a closed issue, please open a new issue if there are any problems. https://stackblitz.com/edit/ionic-unmdy9?file=pages/home/home.html |
Ionic version:
[X ] 3.x
I'm submitting a ...
[X ] bug report
Current behaviour:
When I place a
<button>
inside a<ion-buttons>
(inside a toolbar in a footer) it is not styled correctly.See: https://forum.ionicframework.com/t/ion-footer-with-ion-toolbar-and-ion-buttons-not-styled-correctly/89932
Expected behaviour:
A
<button>
inside a<ion-buttons>
(inside a toolbar in a footer) should be styled as per a<button>
(inside a toolbar in a footer but) not inside an<ion-buttons>
.Steps to reproduce:
http://plnkr.co/edit/fyJdsXxKLcSM68l4dyAw?p=preview
Related code:
Other information:
See: https://forum.ionicframework.com/t/ion-footer-with-ion-toolbar-and-ion-buttons-not-styled-correctly/89932
Ionic info: (run
ionic info
from a terminal/cmd prompt and paste output below):The text was updated successfully, but these errors were encountered: