Hi,
I have created a simple tabs application and run using ionic serve --lab
on browser. The footer on the android panel is not aligned properly at bottom.
How can I fix this issue?
Hi,
I have created a simple tabs application and run using ionic serve --lab
on browser. The footer on the android panel is not aligned properly at bottom.
How can I fix this issue?
Hi,
It’s expected, but you can force the behavior by configuring it:
http://ionicframework.com/docs/api/provider/$ionicConfigProvider/
$ionicConfigProvider.tabs.position('bottom')
Thanks Shaoner,
I had added $ionicConfigProvider.tabs.position('bottom');
in .config
section in app.js
. It works.
Was this issue happening because of android basic behavior like title on the left corner? Why should we need to force? Is there any reason? Please let me know…
Yes exactly, it’s more like an android convention.
Users may expect the tab-bar to be on top, but honestly I don’t think it really matters from an ergonomic point of view as long as it is clear what the bar is for.