igniteui-angular icon indicating copy to clipboard operation
igniteui-angular copied to clipboard

IE 11 does not display the MRL correctly

Open PavlovVasil opened this issue 7 years ago • 4 comments

Description

The "display: ms-grid" style does not get applied to the grid when there is a MRL, which breaks the layout in IE 11. The two screenshots below show the difference in the layout when the same grid gets rendered in Chrome (screenshot1) vs IE 11 (screenshot2)

  • igniteui-angular version: 7.3.x
  • browser: Internet Explorer 11

Steps to reproduce

  1. Run the attached sample with latest 7.3.x
  2. Open http://localhost:4200/

Result

The MRL does not get applied, which displaces all grid cells

Expected result

The MRL should be rendered correctly.

Attachments

Sample:

igxGridMRLGroupBy.zip

Chrome: Sketch4

IE 11: Sketch3

PavlovVasil avatar May 22 '19 16:05 PavlovVasil

@simeonoff Тhe problem appears only when the package with the styles get loaded in the browser in an isolated sample or in the samples repo. However, it does not reproduce on production, or when the dev demos are run.

Do we build the styles for the dev demos (and production as well) in some different way? That might explain why the "display: ms-grid" somehow gets added there?

PavlovVasil avatar May 27 '19 09:05 PavlovVasil

@PavlovVasil I think this is documented for IE 11

rkaraivanov avatar May 27 '19 10:05 rkaraivanov

@PavlovVasil as @rkaraivanov pointed out, you need

/* autoprefixer grid:on */

For prefixing to work.

simeonoff avatar May 27 '19 13:05 simeonoff

@rkaraivanov @simeonoff : Thank you for the clarification, I am closing the issue.

PavlovVasil avatar May 28 '19 12:05 PavlovVasil