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

    [v0.14] IE11/Edge compatbility

    Announcements
    6
    32
    8389
    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.
    • rstoenescu
      rstoenescu Admin last edited by rstoenescu

      Hi All,

      Just released Quasar with compatibility fixes that can be imported if you need support for IE/Edge.

      First, npm update quasar-framework, then add this to your main.js AFTER the Quasar theme import:

      // Uncomment the following lines if you need IE11/Edge support
      // require(`quasar/dist/quasar.ie`)
      // require(`quasar/dist/quasar.ie.${__THEME}.css`)
      

      As it says above, uncomment the two lines if you need support for IE/Edge.
      Like always, please submit ANY issues you find to github and let’s get v0.14 ready for its final release.

      You need to thank Dan Popescu (member of Quasar team) for his continuing efforts on this one.

      EDIT: Also npm install es6-promise package.

      -Razvan

      K 1 Reply Last reply Reply Quote 2
      • K
        keyb2004 @rstoenescu last edited by

        @rstoenescu

        flat button

        alt flat button

        After doing this, the flat button is still wrong on IE11/Edge.

        P 1 Reply Last reply Reply Quote 0
        • P
          pdanpdan last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • P
            pdanpdan @keyb2004 last edited by

            @keyb2004
            Can you please give us more details? The template would be nice. Also IE version and OS. Confirm these steps:

            1. did you do a npm update?
            2. did you uncomment (or add) require(quasar/dist/quasar.ie.${__THEME}.css) in main.js?
            3. can you check if all buttons in http://beta.quasar-framework.org/quasar-play/android/index.html#/showcase/forms/button show correctly in IE?
            K 1 Reply Last reply Reply Quote 0
            • K
              keyb2004 @pdanpdan last edited by

              @pdanpdan 0_1498921091426_qbtn.png

              IE:Microsoft Edge 38.14393.0.0
              Microsoft EdgeHTML 14.14393

              OS: Windows 10 (1607) professional (review 14393.693) 64bit

              1 Reply Last reply Reply Quote 0
              • s.molinari
                s.molinari last edited by s.molinari

                I can also reproduce the issues on the beta site.

                0_1498980655315_upload-18e66bd6-31c2-4ec2-91af-d84b468261a6

                Same OS and Browser versions as above.

                Not sure how much this helps, but if I turn off display: inline-flex, things seem to go back to the way they should.

                0_1498980864472_upload-26877c9c-6022-45bf-acbd-df830d1ba3b7

                Scott

                P 1 Reply Last reply Reply Quote 0
                • P
                  pdanpdan @s.molinari last edited by pdanpdan

                  @s.molinari
                  Yes, that’s correct. That’s what the compatibility layer for IE does. The only problem is that it only detects IE, not Edge. I have to find a hack that’s common for IE and Edge.
                  I’ll try to use this tomorrow: https://jeffclayton.wordpress.com/2015/04/07/css-hacks-for-windows-10-and-spartan-browser-preview/

                  K 1 Reply Last reply Reply Quote 1
                  • K
                    keyb2004 @pdanpdan last edited by

                    @pdanpdan Any progress?

                    P 1 Reply Last reply Reply Quote 0
                    • P
                      pdanpdan @keyb2004 last edited by

                      @keyb2004
                      Hi. It’s done and tested on IE and Edge (this time also on Edge 🙂 ).
                      https://github.com/quasarframework/quasar/pull/685
                      It’s merged in dev, but it’s not yet in quasar-edge.
                      If you want you can get a slightly modified build from https://github.com/pdanpdan/quasar

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

                        Deployed to edge. So any fixes are there.

                        1 Reply Last reply Reply Quote 2
                        • K
                          keyb2004 last edited by

                          Thank you for your help!

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

                            Hi, I am experience similar issue with IE 11 compatibility and getting blank pages.
                            IE: 11.0.46
                            Quasar: 0.14.5
                            Vue: 2.4.4

                            • Installed ‘es6promises’
                            • Added recommended IE support lines in main.js
                            // Uncomment the following lines if you need IE11/Edge support
                            require(`quasar/dist/quasar.ie`)
                            require(`quasar/dist/quasar.ie.${__THEME}.css`)
                            
                            // Polyfills for IE support
                            import es6Promise from 'es6-promise'
                            es6Promise.polyfill()
                            import 'babel-polyfill'
                            

                            I am getting following error in IE console and blank pages:

                            SCRIPT1003: Expected ':'
                            File: app.js, Line: 2614, Column: 1
                            

                            Any help is appreciated!

                            R rstoenescu 2 Replies Last reply Reply Quote 0
                            • R
                              rv @rv last edited by

                              Found the problem. Definitely not an issue with quasar; it was some third party module which was causing issues with IE. To be specific it was vue2-filters (https://github.com/freearhey/vue2-filters).
                              Here are two active issues which I was also facing - #33 & #32.

                              I removed this module and my quasar app worked fine on IE. I think will be adding custom filters or will user Quasar’s css helper classes which I was not aware of before. 🙂

                              Thanks!

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

                                @rv said in [v0.14] IE11/Edge compatbility:

                                // Polyfills for IE support
                                import es6Promise from 'es6-promise'
                                es6Promise.polyfill()
                                import 'babel-polyfill'
                                

                                Essentially this is what require('quasar/dist/quasar.ie') does. Why do you need that added?

                                R 1 Reply Last reply Reply Quote 0
                                • R
                                  rv @rstoenescu last edited by

                                  @rstoenescu said in [v0.14] IE11/Edge compatbility:

                                  t/quasar.ie

                                  Thanks. I didn’t realize and removed es6-promise specific lines. But I would need import 'babel-polyfills' to solve other IE compatibility issue like -

                                  "TypeError: Object doesn't support property or method 'assign'"
                                  
                                  1 Reply Last reply Reply Quote 0
                                  • rstoenescu
                                    rstoenescu Admin last edited by

                                    Are there any other errors that you get? I will add Object.assign to the IE polyfills list.

                                    R 1 Reply Last reply Reply Quote 0
                                    • R
                                      rv @rstoenescu last edited by

                                      @rstoenescu Nop - that was it!

                                      And I can only post once every 120 seconds… 😞

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

                                        @rv thanks. changed to 15 seconds now.

                                        1 Reply Last reply Reply Quote 0
                                        • W
                                          walfin last edited by

                                          Hi, looking for some help here. I read on the old docs that I need to uncomment 2 lines in main.js to enable IE11/Edge support. However, I couldn’t find any main.js. How do I enable Edge support? Currently, I am facing a blank screen in Edge with this error, “SCRIPT1028: SCRIPT1028: Expected identifier, string or number”.

                                          1 Reply Last reply Reply Quote 0
                                          • s.molinari
                                            s.molinari last edited by

                                            @walfin - Are you using v0.14?

                                            Scott

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