-
-
Notifications
You must be signed in to change notification settings - Fork 46.7k
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 9 下的 matchMediaPolyfill 没起作用,仍然报错 #936
Comments
polyfill 建议全局引用。 试试 http://ant.design/docs/react/getting-started#%E5%85%BC%E5%AE%B9%E6%80%A7 提供的这个 polyfill 。
|
没有反馈了? |
目前我没有用到这个组件,而且打包使用了Babel-antd插件,所以没再遇到这个问题,晚上我再试试
|
采用上面那个 polyfill 之后,ie9 下正常了 |
This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread. |
Carousel 组件使用到 react-slick 中需要 matchMedia,Antd 中提供的 polyfill 在 ie9 下没起作用,仍然报错:
环境说明:
采用 webpack + babel 编译
The text was updated successfully, but these errors were encountered: