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

    Can we transition "maximized model" from the center of the screen?

    Framework
    2
    4
    1576
    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.
    • K
      kiranvasi last edited by

      Hello All,

      Currently the maximized model is transiting from right . Is there way we can transit it from center of the screen to full screen …?

      Thank You for your help

      1 Reply Last reply Reply Quote 0
      • rstoenescu
        rstoenescu Admin last edited by

        Hi,

        Write a Vue transition in CSS and use its name as transition prop to the Modal.

        1 Reply Last reply Reply Quote 1
        • rstoenescu
          rstoenescu Admin last edited by

          Some examples to get you started: https://github.com/quasarframework/quasar/blob/dev/src/vue-components/modal/modal.mat.styl#L121-L139

          1 Reply Last reply Reply Quote 1
          • K
            kiranvasi last edited by

            Thanks for your reply with the examples .( I am sorry I didn’t notice transition property earlier in the document and I think I am getting old )
            Juts used simple fade transition with the transition prop .

            ( From Vuejs document )

            .fade-enter-active, .fade-leave-active {
              transition: opacity .5s
            }
            .fade-enter, .fade-leave-to  {
              opacity: 0
            }
            
            1 Reply Last reply Reply Quote 1
            • First post
              Last post