Hi guys! I have some problems using Ionic, I hope Ionic team can help me with this.
My app context
In my app, I have two abstract views, the first has a tab menu, and the second doesn’t have anything just an ion-nav-bar
, I use this to change from a state with tabs menu to another with anything I want in the footer with ion-footer-bar. For example, in a Question state I have a “Answer” button in a ion-footer-bar
. So my app change from tabs.timeline
(which has a tab menu) to app.article
(which has a footer ‘main’ button)
How to reproduce
I made this codepen to reproduce the issue http://codepen.io/felquis/pen/ogLYJE
Problem 1
- Open the
no iframe
version http://s.codepen.io/felquis/debug/ogLYJE - Open the DevTools (Chrome) and emulate a iPhone 5 device and reload the page.
- The app start with no tabs, (like a login state)
- Here is the problem Click “go to app” (verify a black screen appeared in the leaving state)
- Navigate between the tabs, check that the transitions works fine.
- Here is the problem Click at any ‘Click here’ button (this will change the abstract view), note what happens to the leaving state.
- Mysteriously, when you use the back button, the transition to the previous abstract view, works as expected.
Problem 2
Reload the no iframe
to the start http://s.codepen.io/felquis/debug/ogLYJE
- Click ‘go to app’
- The
tabs.home
is loaded - Here is the problem Click in ‘Click here’
During the transition the leaving state doesn’t turn black like before, but the leaving screen turn the app.login
state with the red button and should be the tabs.home
screen leaving with the green button.
Problem 3
Reload the no iframe
to the start http://s.codepen.io/felquis/debug/ogLYJE
- Click ‘go to app’
- Click in ‘Click here’ green button
- Click in the back button
- Now, click at
profile
in the tabs - Now, click at
Config
in the tabs -
here is the problem, click at
Home
Note that the leaving state stay above the entering state with an opacity before disappear.
Possible problem 4
I can’t put tabs markup inside a ion-footer-bar
tag? I need to use ion-footer-bar
to Ionic correctly calculate the scrollable size of the screen, but the tabs inside ion-footer-bar seems broken as well as the .button-full
that doesn’t fill wall the width of the footer.
The .button-full
is in the view app.oi
, URL http://s.codepen.io/felquis/debug/ogLYJE#/app/oi/test/
…
I know I’m possible implementing Ionic wrong, but, the transitions between the states seems very correct, one state I need tabs and here I have navigation, another state I need anything, and here my apps continues to navigate correctly, with tabs the tabs doesn’t change etc… (I don’t have enough words to explain). It makes me feel that this is a problem with Ionic, not in my implementation of Ionic
Hope this help improve Ionic in some way.