question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Setting toolbarVisible is ignored when initial animations are not finished on iOS

See original GitHub issue

Initially setting the property to false doesn’t have any effect. It must be set in the resize event of the page for it to work.

Workaround:

tabris.create("Page", {
  title: "Creating a fullscreen page",
  topLevel: true
}).once("resize", function() {
  tabris.ui.set("toolbarVisible", true);
}).open();

Issue Analytics

  • State:open
  • Created 8 years ago
  • Comments:14 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
bev-oncommented, Jun 22, 2016

@patrykmol @cpetrov @bFlood as I already mentioned in another issue, I find solution/workaround for this problem.

style: ["FULLSCREEN"] as page property, will fix this issue.

tabris.ui.set("toolbarVisible", false);

var page = new tabris.Page({
    title: "Custom Actionbar",
    style: ["FULLSCREEN"],
    topLevel: true
});

Tested and working on both iOS and Android without any timers and onresize listeners… and isn’t affected by page changes or page close. If you set style: ["FULLSCREEN"] to page you want to open, there won’t be visible toolbar/actionbar.

0reactions
bFloodcommented, Apr 11, 2016

the timer workaround does work however, the visual of the navbar displaying and hiding when transitioning between pages is really bad. not to mention a quick swipe backwards can leave the toolbar area completely black

so, I guess for now this type of app (no navbar) is just not possible in tabris right now. I’d love to see this in future version (as well as a more customizable navbar)

Read more comments on GitHub >

github_iconTop Results From Across the Web

ios - View not updating when autolayout constraint modified ...
I'd first breakpoint and make sure you're not hitting the animation code a ... you've got the constraints wired up correctly and toolbarVisible...
Read more >
Use Touch Accommodations with your iPhone, iPad, iPod ...
Go to Settings, then select Accessibility. Select Touch, then select Touch Accommodations. Enable Swipe Gestures. Ignore Repeat. You can choose ...
Read more >
Untitled
In the first two, you'll notice that when trying to view layer settings, ... override is not working: Show detailed preview defaults setting...
Read more >
Snap™ Core First® User's Manual - myTobiiDynavox
Tobii Dynavox Snap Core First is the pinnacle in symbol-based communication software for symbol-supported communica- tors. It is designed to be the easiest ......
Read more >
Naurtech TE and Web browser Smart Clients - Support - Casio
and application settings. You can hide the Start Bar, the Application menu and toolbars so that the end user has no control to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found