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

IE8/9 的兼容性审查 #138

Closed
20 tasks done
afc163 opened this issue Aug 17, 2015 · 29 comments
Closed
20 tasks done

IE8/9 的兼容性审查 #138

afc163 opened this issue Aug 17, 2015 · 29 comments
Assignees
Labels
🐛 Bug Ant Design Team had proved that this is a bug. help wanted The suggestion or request has been accepted, we need you to help us by sending a pull request. Internet Explorer

Comments

@afc163
Copy link
Member

afc163 commented Aug 17, 2015

问题记录在这里:

IE9下

  • Layout Flex 布局无效
  • Select 智能提示 Demo 输入框内容向上偏移
  • Tabs 中的左侧箭头按钮样式
  • Pagination 左侧箭头按钮以及省略号的样式
    aabc9dba2202c223fd17ba4972a17110
  • Table 表头文字与内容文字不对齐 24aba9e
  • Notification Demo 里的关闭方法需要完善
  • Upload 上传按钮补白部分点击无效,两个拖拽上传点击无效
  • Popover Tooltip Popconfirm 的位置 Demo 里的顺序建议调整为左、上、下、右

IE8下

  • Form 行内表单失效
  • InputNumber 右侧按钮箭头方向
  • Slider 拖动无效,Icon Demo 里的 icon 错位
  • Select 箭头方向
  • Collapse 箭头方向,嵌套 Demo 里内部面板收缩时,外部面板不能收缩
  • Carousel 完全失效
  • Pagination 左右按钮箭头偏移
  • Upload 上传按钮补白部分点击无效,两个拖拽上传点击无效,样式偏移
  • Dropdown 下拉框没有上边框
  • Table 表头文字与内容文字不对齐 24aba9e
@afc163 afc163 mentioned this issue Aug 17, 2015
11 tasks
@afc163 afc163 added 🐛 Bug Ant Design Team had proved that this is a bug. 🕙 Plan labels Aug 17, 2015
@sorrycc
Copy link
Contributor

sorrycc commented Aug 18, 2015

看了下 react-slick,貌似本身就不支持 IE8 。。我看下怎么改下。

afc163 added a commit that referenced this issue Aug 18, 2015
afc163 added a commit that referenced this issue Aug 18, 2015
@zhujun24
Copy link
Contributor

万恶的 IE 兼容问题求认领

Select 然则 @warmhug
Upload 玄寂 @pigcan
Slider 再飞 @simaQ
Carousel 云谦 @sorrycc
Collapse 翰文 @shepherdwind
InputNumber 承玉 @yiminghe

@shepherdwind
Copy link
Contributor

额上传在ie下应该不支持拖拽的,Collapse我研究下。IE8下我以为能用就行了的

@afc163
Copy link
Member Author

afc163 commented Aug 18, 2015

没事,这里只是列出问题,我们对兼容性有结论就好,不用强求。

@sorrycc
Copy link
Contributor

sorrycc commented Aug 19, 2015

akiran/react-slick#103

@afc163
Copy link
Member Author

afc163 commented Aug 19, 2015

拖拽上传组件 IE 下不支持拖拽可以理解,点击应该要可以呀。

@simaQ
Copy link
Contributor

simaQ commented Aug 19, 2015

是 再飞 不是 在飞,认领了

@afc163
Copy link
Member Author

afc163 commented Aug 19, 2015

到底在不在飞?

@warmhug
Copy link
Contributor

warmhug commented Aug 19, 2015

是 autoprefixer-loader 在 ie8下生成的filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2)... 这些?有测试这个filter在ie8下能正常工作吗? 这个用的地方很多、貌似影响很大。 @afc163 @yiminghe

@simaQ
Copy link
Contributor

simaQ commented Aug 19, 2015

@warmhug IE8 下是可以的,你可以看 iconfont,但是不能用在 :before :after 伪元素上

.@{iconfont-css-prefix}-backward                      {.ie-rotate(2);}
.@{iconfont-css-prefix}-backward:before               {content:"\e630";.rotate(180deg);}

@warmhug
Copy link
Contributor

warmhug commented Aug 19, 2015

对的 @simaQ 多谢

@zhujun24
Copy link
Contributor

Select 的箭头在 IE8 下好了,IE9 下又有问题了
6d23a9cd-ddbc-42c6-b5ae-1e382ddf16d3
下拉框里的第一个和最后一个选项的边角溢出
82e5f54c-d0f5-43be-9a7f-df706d57cfcb
@warmhug

@warmhug
Copy link
Contributor

warmhug commented Aug 21, 2015

@zhujun24 边角溢出已修复;ie上箭头方向修复了、但箭头会变大、似乎不能两全、谁比较了解求帮助~

@yiminghe
Copy link
Contributor

rotate 不要放在 before 上试试

@shepherdwind
Copy link
Contributor

箭头那个巨麻烦,ie里面如果使用缩放,会非常丑的

image

另外位置也便宜了,因为正常的一个icon是21px那么大小,缩放实际上,空间还是在那里的。

感觉用旋转来实现icon,要兼容ie,实在痛苦啊。

shepherdwind pushed a commit that referenced this issue Aug 23, 2015
closes #138, #161

Conflicts:
	style/components/collapse.less
@pimkle
Copy link

pimkle commented May 4, 2017

Collapse的箭头,在IE9下会换行

@pimkle
Copy link

pimkle commented May 4, 2017

Modal对话框 弹出的时候,右侧滚动条消失,留下一个很丑的白块,而且布局会向左靠:https://ant.design/components/modal-cn/

@pimkle
Copy link

pimkle commented May 4, 2017

progress loading circle在ie9上动画只显示第一帧,不会转动

@benjycui
Copy link
Contributor

benjycui commented May 5, 2017

以上两点确认是有问题。

progress loading circle在ie9上动画只显示第一帧,不会转动

这个问题不知道是什么, Progress 没有 loading 属性。

@benjycui benjycui reopened this May 5, 2017
@benjycui
Copy link
Contributor

benjycui commented May 5, 2017

@pimkle 可以帮忙看看怎么解决?

@benjycui benjycui added help wanted The suggestion or request has been accepted, we need you to help us by sending a pull request. and removed 🕙 Plan labels May 5, 2017
@pimkle
Copy link

pimkle commented May 8, 2017

@benjycui

progress loading circle在ie9上动画只显示第一帧,不会转动
这个问题不知道是什么, Progress 没有 loading 属性。

上面这个问题 你用IE9访问下下面这个url就知道了:
https://ant.design/components/spin-cn/

因为项目需要兼容IE9, 发现这个项目对IE9很友好,就全面检查了下兼容性。我很愿意帮忙,但是上手比较慢。

IE9不支持animation:http://caniuse.com/#feat=css-animation won't fix

@benjycui
Copy link
Contributor

benjycui commented May 8, 2017

@pimkle Progress 和 Spin 是两个组件。。要区分开啊。

antd 中的动画都是用 CSS3 做的,所以在老 IE 下面会有损失,这个也不计划适配。

@pimkle
Copy link

pimkle commented May 8, 2017

@benjycui 👌🏻

@benjycui
Copy link
Contributor

@pimkle 另外两个问题,就麻烦你看看了,谢谢。

@afc163
Copy link
Member Author

afc163 commented Aug 16, 2017

Collapse 箭头错位的问题在 af9dc73 里修复了。

Modal对话框 弹出的时候,右侧滚动条消失,留下一个很丑的白块

白块是给滚动条占位的,不算 bug。

@afc163 afc163 closed this as completed Aug 16, 2017
@magnnus
Copy link
Contributor

magnnus commented Jan 3, 2018

@afc163

Modal对话框 弹出的时候,右侧滚动条消失,留下一个很丑的白块

这里问题是 占位的宽度太大了,我在ie9上看,body的padding-right是34px,造成向左错位的视觉效果... 直接访问站点的modal组件即可复现

@budiga
Copy link

budiga commented Mar 1, 2018

使用antd的Upload上传图片,在IE9里如何实现图片预览啊?
有哪个属性能得到选择的本地图片的路径嘛?能知道路径的话是不是可以通过滤镜实现预览,通过new ActiveXObject("Scripting.FileSystemObject")来验证文件大小、类型?
@afc163 @shepherdwind @pigcan

@kwzm
Copy link

kwzm commented Dec 11, 2019

@afc163 您好,我看您把 flex 给划掉了,是有什么方法可以兼容吗?

@yoyo837
Copy link
Contributor

yoyo837 commented Dec 11, 2019

@kwzm IE9 不支持 flex https://caniuse.com/#search=Flexible

Vaishnavi-Lingala pushed a commit to Vaishnavi-Lingala/ant-design that referenced this issue Aug 11, 2022
Changed column display name
wangmeijian pushed a commit to wangmeijian/ant-design that referenced this issue Oct 11, 2022
…n#138)

* add onKeyDown props and disableKey props

* update readme and basic example

* remove disableKey

* update onkeydown preventDefaultBehaviors on Picker
update readme
update basic example

* fix range picker onKeyDown
fix preventDefaultBehaviors types

* update picker input preventdefault (state to ref)
update examples
add test case for prevent default
apply @kerm1it suggestions

* update on key down event type
rename all preventDefaultBehaviors to preventDefault
apply @kerm1it suggestions

* rename focuseventhandler and mouseeventhandler

* update example caption for on keydown
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Ant Design Team had proved that this is a bug. help wanted The suggestion or request has been accepted, we need you to help us by sending a pull request. Internet Explorer
Projects
None yet
Development

No branches or pull requests