Disappearing header and footer - expected behaviour? - Forum - Mobile - Progress Community

Disappearing header and footer - expected behaviour?

 Forum

Disappearing header and footer - expected behaviour?

  • Place a carousel on a page with a header and/or footer.  Set the height of the carousel greater than the height of the page.  Now, every time you click on the page, it toggles the header and footer on and off.  Is this expected behaviour?  Can I override it?

    Cheers,
    John

  • I had a similar problem where my footer would disappear and then reappear. I had to add the following to the PageShow event to solve the issue. I am not sure if this is the same issue you are having.

    $("[data-role=footer]").css("position", "fixed");

    $("[data-role=header]").css("position", "fixed");

  • Thanks, that looks like it ought to do the job.  However, I tried it in both the PageShow and PageLoad events, and it doesn't seem to make any difference.

    I notice, looking at the mark-up, that the footer already has an attribute 'data-position="fixed"'.  Does that mean I'm overwriting something that's already set?

  • That is what the folks at Appery said when I had a similar issue.