No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Rotate to landscape mode in pwa

    Help
    2
    3
    2928
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      Travinns last edited by

      I have a quasar app that I build in PWA mode. When I visit the app through a mobile browser (chrome) and rotate my screen the app switches to landscape mode (probably because this is being handeld by the browser. However when I do the same with the PWA added to my homescreen it doesn’t flip anymore. Anybody know where to change this behaviour?

      1 Reply Last reply Reply Quote 0
      • R
        rusia last edited by rusia

        In quasar.conf.js

            pwa: {
              manifest: {
                display: 'standalone',
                orientation: 'landscape',
        
        

        All other options are listed here: https://developer.mozilla.org/en-US/docs/Web/Manifest#orientation

        1 Reply Last reply Reply Quote 0
        • T
          Travinns last edited by

          That’s it. Thanks. I just removed the orientation so it will use the default phone settings and listen to the orientation lock.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post