I have added the atri “button-small” to the button, but the icon shown is still big. And if I uncomment the “div” part, when the button is shown, the whole input element changes its height. I think it is a bug.
I also tested it on my device.
The input element just covers and makes the bottom border of the positive header bar invisible.
While if the “div” in the code is uncommented, it shows well. But if I type something and make the button visible, the input element covers and makes the bottom border of the positive header bar invisible, again.
The is the expected behavior. When buttons are in a header-bar, they have some default style that overrides button-small I would add some custom class that come after ionics css.