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?