{"action":"created","issue":{"url":"https://api.github.com/repos/ant-design/ant-design/issues/8784","repository_url":"https://api.github.com/repos/ant-design/ant-design","labels_url":"https://api.github.com/repos/ant-design/ant-design/issues/8784/labels{/name}","comments_url":"https://api.github.com/repos/ant-design/ant-design/issues/8784/comments","events_url":"https://api.github.com/repos/ant-design/ant-design/issues/8784/events","html_url":"https://github.com/ant-design/ant-design/issues/8784","id":285065029,"number":8784,"title":"List组件 在ie下的只兼容9，但是会报foreach的错","user":{"login":"RRRRROOOO","id":19832028,"avatar_url":"https://avatars0.githubusercontent.com/u/19832028?v=4","gravatar_id":"","url":"https://api.github.com/users/RRRRROOOO","html_url":"https://github.com/RRRRROOOO","followers_url":"https://api.github.com/users/RRRRROOOO/followers","following_url":"https://api.github.com/users/RRRRROOOO/following{/other_user}","gists_url":"https://api.github.com/users/RRRRROOOO/gists{/gist_id}","starred_url":"https://api.github.com/users/RRRRROOOO/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RRRRROOOO/subscriptions","organizations_url":"https://api.github.com/users/RRRRROOOO/orgs","repos_url":"https://api.github.com/users/RRRRROOOO/repos","events_url":"https://api.github.com/users/RRRRROOOO/events{/privacy}","received_events_url":"https://api.github.com/users/RRRRROOOO/received_events","type":"User","site_admin":false},"labels":[{"id":778619758,"url":"https://api.github.com/repos/ant-design/ant-design/labels/Component:%20List","name":"Component: List","color":"1d76db","default":false}],"state":"open","locked":false,"assignee":{"login":"nikogu","id":1179603,"avatar_url":"https://avatars1.githubusercontent.com/u/1179603?v=4","gravatar_id":"","url":"https://api.github.com/users/nikogu","html_url":"https://github.com/nikogu","followers_url":"https://api.github.com/users/nikogu/followers","following_url":"https://api.github.com/users/nikogu/following{/other_user}","gists_url":"https://api.github.com/users/nikogu/gists{/gist_id}","starred_url":"https://api.github.com/users/nikogu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikogu/subscriptions","organizations_url":"https://api.github.com/users/nikogu/orgs","repos_url":"https://api.github.com/users/nikogu/repos","events_url":"https://api.github.com/users/nikogu/events{/privacy}","received_events_url":"https://api.github.com/users/nikogu/received_events","type":"User","site_admin":false},"assignees":[{"login":"nikogu","id":1179603,"avatar_url":"https://avatars1.githubusercontent.com/u/1179603?v=4","gravatar_id":"","url":"https://api.github.com/users/nikogu","html_url":"https://github.com/nikogu","followers_url":"https://api.github.com/users/nikogu/followers","following_url":"https://api.github.com/users/nikogu/following{/other_user}","gists_url":"https://api.github.com/users/nikogu/gists{/gist_id}","starred_url":"https://api.github.com/users/nikogu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikogu/subscriptions","organizations_url":"https://api.github.com/users/nikogu/orgs","repos_url":"https://api.github.com/users/nikogu/repos","events_url":"https://api.github.com/users/nikogu/events{/privacy}","received_events_url":"https://api.github.com/users/nikogu/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2017-12-29T09:54:37Z","updated_at":"2017-12-31T08:01:30Z","closed_at":null,"author_association":"NONE","body":"### Version\r\n3.0.3\r\n\r\n### Environment\r\nie edge\r\n\r\n### Reproduction link\r\n[https://ant.design/components/list-cn/](https://ant.design/components/list-cn/)\r\n\r\n### Steps to reproduce\r\n使用ie浏览器打开连接， 有头像的list显示不正常，可能是flex 不兼容， ie9、10的环境是正常显示 ，但是foreach报错， ie11 无法正常显示，foreach不报错\r\n\r\nwith use ie，the list is not normal css，and ie9、10 foreach warring， ie11（edge）css is Insanity\r\n\r\n### What is expected?\r\n能够兼容ie9 以上的版本，都能够不报错吧，正常显示\r\n\r\nCan be compatible with more than IE9 version, can not report the wrong, normal display\r\n\r\n\r\n<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->"},"comment":{"url":"https://api.github.com/repos/ant-design/ant-design/issues/comments/354590789","html_url":"https://github.com/ant-design/ant-design/issues/8784#issuecomment-354590789","issue_url":"https://api.github.com/repos/ant-design/ant-design/issues/8784","id":354590789,"user":{"login":"johnnychen","id":1297278,"avatar_url":"https://avatars0.githubusercontent.com/u/1297278?v=4","gravatar_id":"","url":"https://api.github.com/users/johnnychen","html_url":"https://github.com/johnnychen","followers_url":"https://api.github.com/users/johnnychen/followers","following_url":"https://api.github.com/users/johnnychen/following{/other_user}","gists_url":"https://api.github.com/users/johnnychen/gists{/gist_id}","starred_url":"https://api.github.com/users/johnnychen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnnychen/subscriptions","organizations_url":"https://api.github.com/users/johnnychen/orgs","repos_url":"https://api.github.com/users/johnnychen/repos","events_url":"https://api.github.com/users/johnnychen/events{/privacy}","received_events_url":"https://api.github.com/users/johnnychen/received_events","type":"User","site_admin":false},"created_at":"2017-12-31T08:01:30Z","updated_at":"2017-12-31T08:01:30Z","author_association":"NONE","body":"## 关于IE报错 - antd官网报错\r\n\r\nforEach报错应该是antd官方网站的报错，跟antd本身没有关系。具体是调用了NodeList的forEach方法，但这个方法目前IE不支持\r\n\r\nhttps://developer.mozilla.org/en-US/docs/Web/API/NodeList/forEach\r\n\r\n![image](https://user-images.githubusercontent.com/1297278/34460194-e8652b58-ee42-11e7-8f67-98c2040777ad.png)\r\n\r\n## 关于IE报错 - 开发环境报错\r\n\r\n我猜你开发环境IE下面的报错，是因为roadhog的缘故，参见：https://github.com/sorrycc/roadhog/issues/497\r\n\r\n## 最后\r\n\r\nLIST样式兼容性问题是存在的，但根IE报错应该没必然的关系，只不过IE报错不方便你开发环境下调试排查。\r\n"}}
{"actor":{"display_login":"johnnychen"}}