Skip to content
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

IE compatibility issue #40

Open
rhliu228 opened this issue May 27, 2019 · 2 comments
Open

IE compatibility issue #40

rhliu228 opened this issue May 27, 2019 · 2 comments

Comments

@rhliu228
Copy link

  1. 通过源码发现,orgchart.js使用了:scope css选择器属性,最新版ie和edge都不支持这个属性,
  2. 源码在几处地方使用了Element.matches(),这个方法在ie中对应的非标准名称是Element.matchesSelector(),所以建议编写polyfill.

参考:

@rhliu228
Copy link
Author

以上属性的不兼容导致在ie下看不到一级节点

@icycore
Copy link

icycore commented Jun 12, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants