Coder Social home page Coder Social logo

Comments (7)

JoaoSaleiro avatar JoaoSaleiro commented on June 17, 2024

I just retested this on other environments. Here's the results:

Cordova app in iOS: icon disappears
Safari in iOS: icon disappears
Cordova app in Android 4.4: works ok
Chrome in Android 4.4: works ok
Cordova app in Android 4.2: icon disappears
Legacy Browser (WebView) in Android 4.2: icon disappears

from onsenui.

kruyvanna avatar kruyvanna commented on June 17, 2024

can you post the content of menu.html file?

from onsenui.

JoaoSaleiro avatar JoaoSaleiro commented on June 17, 2024

Yes:

menu.html

<ons-page>
    <ul class="fa-ul">

        <ons-list-item 
            class="topcoat-list__item_active"
            ng-click="ons.slidingMenu.toggleMenu(); 
            ons.slidingMenu.setAbovePage('navigator1.html')">
            <i class="fa-li fa fa-home fa-lg" style="top: 25%"></i>
            Transactions
        </ons-list-item>

        <ons-list-item 
            class="topcoat-list__item_active"
            ng-click="ons.slidingMenu.toggleMenu(); 
            ons.slidingMenu.setAbovePage('navigator2.html')">
            <i class="fa-li fa fa-gear fa-lg" style="top: 25%"></i>
            Configuration
        </ons-list-item>

    </ul>

</ons-page>

from onsenui.

kruyvanna avatar kruyvanna commented on June 17, 2024

fix. you can check this on the dev branch. 🍻

from onsenui.

JoaoSaleiro avatar JoaoSaleiro commented on June 17, 2024

This fixed just part of the issue, but not completely. The right button still disappears if you have two sibling navigators in the menu.

How to reproduce:

a) Pick up the structure above, where menu.html points to navigator1.html and navigator2.html
b) Add navigator2.html. It's a completely normal page with a navigator
c) Add page2.html. It doesn't need to have anything.

Now, run the app and perform this (completely normal) navigation:

1- Open the menu, choose the second option (navigator2.html)
2- Open the menu again, choose the first option (navigator1.html)
3- Now click the right button
4- page2.html opens. Click the button to go back.
5- Confirm that the right icon disappeared.

If you need more info, let me know.

from onsenui.

JoaoSaleiro avatar JoaoSaleiro commented on June 17, 2024

Btw, great work :)
👍

from onsenui.

kruyvanna avatar kruyvanna commented on June 17, 2024

yeah if you have the complete code in GitHub or somewhere I can test, that would be helpful.

from onsenui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.