Skip to content

[IE] Errors thrown when opening any IgxGrid #1436

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
zdrawku opened this issue Jun 1, 2018 · 1 comment
Closed

[IE] Errors thrown when opening any IgxGrid #1436

zdrawku opened this issue Jun 1, 2018 · 1 comment
Assignees
Labels
browser: IE-11 Issues specific to the MS IE11 browser 🐛 bug Any issue that describes a bug duplicate 🔥 severity: high grid: general

Comments

@zdrawku
Copy link
Contributor

zdrawku commented Jun 1, 2018

Description

A JS errors are thrown when using any IgxGrid under IE.
The error is:
ERROR TypeError: Object doesn't support property or method 'forEach'

Steps to reproduce

  1. Navigate to any IgxGrid sample on the staging, for example

  2. Look at the browser console.

Result

JS errors are thrown.

Expected result

JS errors should not be thrown.

Attachments

image

Findings:

The issue started to appear after upgrading of the angular-cli version.

There is a recommendation how to load polyfills correctly:
angular/angular-cli#6577
Possible Fix: https://github.com/angular/angular/pull/16805/files

@zdrawku zdrawku added 🐛 bug Any issue that describes a bug 🆕 status: new grid: general browser: IE-11 Issues specific to the MS IE11 browser labels Jun 1, 2018
@zdrawku zdrawku self-assigned this Jun 1, 2018
@zdrawku zdrawku assigned rkaraivanov and bkulov and unassigned zdrawku and rkaraivanov Jun 5, 2018
@bkulov bkulov added 🛠️ status: in-development Issues and PRs with active development on them and removed 🆕 status: new labels Jun 18, 2018
@bkulov bkulov added duplicate and removed 🛠️ status: in-development Issues and PRs with active development on them labels Jun 18, 2018
@bkulov
Copy link
Contributor

bkulov commented Jun 18, 2018

The issue is the same as #1531.
The problem is that NodeList type used in text-highlight.directive.ts doesn't support forEach in IE and doesn't have polyfill.

@bkulov bkulov closed this as completed Jun 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
browser: IE-11 Issues specific to the MS IE11 browser 🐛 bug Any issue that describes a bug duplicate 🔥 severity: high grid: general
Projects
None yet
Development

No branches or pull requests

4 participants