Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nativeBars - bars visibility bug on iOS #84

Closed
ggendre opened this issue Feb 25, 2016 · 1 comment
Closed

nativeBars - bars visibility bug on iOS #84

ggendre opened this issue Feb 25, 2016 · 1 comment
Assignees
Milestone

Comments

@ggendre
Copy link
Contributor

ggendre commented Feb 25, 2016

  • open iOS catalog
  • open nativeBars page

extract from cobalt.conf

"bars": {
    "visible": {
        "top": true,
        "bottom": false
    },
    "backgroundColor": "#FF4444",
    "color": "FFF",
    "title": "Page title",
    "androidIcon": "moon",
    "androidNavigationIcon": {
        "enabled": true,
        "icon": "sun"
    },
    "actions": [{
            "name": "moon",
            "title": "Moon !",
            "androidPosition": "top",
            "iosPosition": "topLeft",
            "androidIcon": "moon",
            "iosIcon": "moon.png",
            "color": "#FF0"
        }
    ]
}
  • click on « change bars visibility ». it sends { top : false, bottom : true }
  • click on « completely change bars»

here is the setBars content :

{
    visible: {
        top: true
    },
    backgroundColor: "#44FF44",
    color: "888",
    title: "Bars set",
    actions: [{
        name: "sun",
        title: "Sun !",
        androidPosition: "top",
        iosPosition: "topRight",
        androidIcon: "sun",
        iosIcon: "sun.png",
        badge: ""
    }]
}
  • go back
  • open nativeBars page again. (see .conf up)

-> topbar is hidden. it should not. it should take bars visibility from cobalt.conf.

@Doc1faux
Copy link
Contributor

In your steps to reproduce, the popped controller is not the same instance as the newly pushed one but in the _barsConfiguration variable, I get a hidden top bar and a displayed bottom bar.

@Doc1faux Doc1faux removed the ready label Apr 26, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants