ionic-team / ionic-framework

A powerful cross-platform UI toolkit for building native-quality iOS, Android, and Progressive Web Apps with HTML, CSS, and JavaScript.
https://ionicframework.com
MIT License
50.91k stars 13.52k forks source link

PWA ion-col component throw error in IE11 #15881

Closed apiaget closed 5 years ago

apiaget commented 5 years ago

Bug Report

Ionic Info Run ionic info from a terminal/cmd prompt and paste the output below.

Ionic:

   ionic (Ionic CLI) : 4.2.1

System:

   NodeJS : v8.11.4
   npm    : 6.4.1
   OS     : Windows 10

Describe the Bug A clear and concise description of what the bug is.

Steps to Reproduce Steps to reproduce the behavior:

  1. git clone https://github.com/apiaget/ie11-col.git
  2. npm install
  3. npm start --es5
  4. In IE11, open http://localhost:3333 and see the error in the console

Related Code If you are able to illustrate the bug with an example, please provide a sample application via an online code collaborator such as StackBlitz, or GitHub. Code throwing error :

<ion-row>
  <ion-col>
    <p>
      Welcome to the PWA Toolkit. You can use this starter to build entire
      apps with web components using Stencil and ionic/core! Check out the
      README for everything that comes in this starter out of the box and
      check out our docs on <a href="https://stenciljs.com">stenciljs.com</a> to get started.
    </p>
  </ion-col>
</ion-row>

Expected Behavior I expect now error when using the ion-col component

Additional Context Using Stencil@0.13.2 with ionic/core@4.0.0-beta.12 I will create a pull request

ionitron-bot[bot] commented 5 years ago

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.