Ng-zorro-antd: nz-collapse doesn't open panel at Safari

Created on 14 Mar 2019  ·  5Comments  ·  Source: NG-ZORRO/ng-zorro-antd

Reproduction link

https://stackblitz.com/edit/ng-zorro-antd-start-roeg51

Steps to reproduce

Open inactive nz-collapse-panel on Safari browser.

What is expected?

nz-collapse-panel is expected to open its contents when it turns out active.

What is actually happening?

An arrow icon on nz-collapse-panel keeps rotating whenever it is clicked but the contents never showed up once after they hided

| Environment | Info |
|---|---|
| ng-zorro-antd | 7.0.3 |
| Browser | Safari Version 12.0.3 (14606.4.5) |


Chrome works well as expected.
Every example in Collapse (https://ng.ant.design/components/collapse/en) has same problem on Safari.

Collapse

Most helpful comment

display: none style is not removed on IE11. @vthinkxie

Don't have Safari at hand. Maybe the same reason.

iexplore_stsa0XG8Cq

All 5 comments

Collapse also doesn't open panel at IE11

display: none style is not removed on IE11. @vthinkxie

Don't have Safari at hand. Maybe the same reason.

iexplore_stsa0XG8Cq

display: none style is not removed on IE11. @vthinkxie

Don't have Safari at hand. Maybe the same reason.

iexplore_stsa0XG8Cq

刚看了下,safari确实也是这样的.

Angular to blame (maybe?) https://github.com/angular/angular/issues/29371

Trying other properties such as visibility or opacity.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

VincentRoth picture VincentRoth  ·  3Comments

zhouwf108 picture zhouwf108  ·  3Comments

s01c83l picture s01c83l  ·  3Comments

DoesntWong picture DoesntWong  ·  3Comments

JCqiu picture JCqiu  ·  3Comments