How to fixed footer in mobile?

  • Screenshot 2020-01-19 at 6.30.25 PM.png

    Hello, my problem is when I scrolling down, the footer will show the whitespace of the screen. I’m trying to create a mobile apps that have a fixed footer at the bottom of the screen. Am I using the wrong q-layout settings? Below is my code, please help and guide me to create a fixed footer. ☺

    This is my q-layout

      <q-layout view="hHh Lpr fFf">
        <router-view name="header" />
        <router-view name="drawer" />
        <router-view name="footer" />
          <router-view />


      <q-footer elevated reveal>
          <q-btn flat icon="home" class="q-mr-sm" />
          <q-space />
          <q-space />
          <q-btn flat icon="person_pin" class="q-mr-sm" />

  • I have the exact sam issue. It looks fine in Chrome browser and in the iOS xCode simulator but not on an actual device.
    <q-footer class=“fixed-bottom”>
    class=“bg-primary text-white”

  • I think the issue is with Cordova. After searching, there were multiple issues on stack overflow and other sites and I found this article on Medium:

    I’m using Icon-genie to build my icons and splash screens so I was afraid modifying the splash screen and config.xml wouldn’t work.

    Coincidentally I started looking at Capacitor since Ionic seems to be a more popular mobile development framework. I searched for the same screen issue with Ionic and only found one from a couple of years ago.

    So I rebuilt the app with Capacitor and the screen displays correctly. This is a new app (actually my first) and I haven’t yet used any additional Cordova plugins, so I have the luxury of being able to convert it. I’ve read that most Cordova plugins are supported by Ionic but there are some that aren’t. If you have the flexibility and want to try that out just follow similar instructions for Capacitor.

Log in to reply