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

    How to easily emulate responsiveness of QDatetime input (i.e. open in modal on mobile but as a popover on desktop)

    Help
    1
    2
    345
    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.
    • tmladek
      tmladek last edited by

      Hello,
      I have a menu with a couple options that I would like to open just like QDatetime opens - in a modal on small screens, and as a popover on desktop.
      Of course, I can always make two components and just dynamically select between which one to render, but I was wondering whether there was an easy, or rather a ‘preferred’ way to do this (that wouldn’t involve duplicating code for the menu options, etc).
      Thanks in advance!

      1 Reply Last reply Reply Quote 0
      • tmladek
        tmladek last edited by

        Any help please?

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