Keeping Navigation Bar Visible?

Avatar

Avatar

satsukitv

Avatar

satsukitv

satsukitv

01-10-2015

It seems to be possible to keep the navigation bar hidden with the Gesture API. However, I cannot figure out a consistent way to keep the navigation bar visible.

The following code will ensure that the navigation bar is visible on page load, and page show; however, as soon as the page is dragged in some way, the navigation bar automatically hides and is irretrievable.

$(document).ready(function() {

  adobeDPS.Gesture.disableNavigation([$("body")[0]]);

  adobeDPS.Gesture.toggleNavigationUI();

});

document.addEventListener("visibilitychange", function() {

  if (!document.hidden) {

    adobeDPS.Gesture.toggleNavigationUI();

  }

});

Is there a way to ensure that the navigation bar stays shown?

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

Neil_Enns_-_Ado

Employee

Avatar

Neil_Enns_-_Ado

Employee

Neil_Enns_-_Ado
Employee

01-10-2015

There's no way to force the navigation bar to stay up. It will go away when the reader interacts with the page to ensure the full screen is available for the reading experience.

Neil

Answers (0)