Position button on right side of ion-header-bar?

Hallo,

How can I position the button on right side of ion-header-bar without a title? It works with 'side=“right” ’ on ion-nav-bar but doesn’t work on ion-header-bar?

The ion-header-bar is used inside a Ionic Modal.

Thanks in advance!! :smile:

What if you just put an empty string for the title?

Yes! It works then but it adds an extra element to DOM? Is there an efficient workaround for this issue?

In this case, some css would solve the issue.

1 Like

Thanks! I was waiting for this. :smile:

Thanks too @mhartington!!!

Great!