-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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下点击RangePicker会闪一下关闭,openChange执行3次 #865
Comments
经过一系列的排查,暂时定位到的是 本地化 语言导致的,当我切换到 有可能是语言化处理的时候丢失了什么字段,目前还不好确定 |
那添加 placeholder 属性后,该BUG为什么就消失了? |
不用关闭,方便进一步跟踪 |
#701 和这个应该是同一类问题 |
RangePicker在ie下有值的情况无法展开的问题,你和我说英文版没问题,我猜测和时间格式有关系,因为es5之前Date.parse行为诡异,而中文和英文版最重要的差异是这个,new Date('2019-01-01')和new Date('2019/01/01')初始化的time是不同的 |
@sendya @tangjinzhou 而且我尝试把placeholder="['', '']"或者在中文模式下placeholder="['left', 'right']"修改为英文,这个bug就不会重现,看caniuse和vuejs/vue#7138 这个属于IE的bug。 |
可以先把 placeholder 改成英文临时解决下,很快修复上线 |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Version
1.3.9
Environment
windows7,IE10,vue2.5.17
Reproduction link
Steps to reproduce
使用日历控件,在IE下点击RangePicker展开后马上关闭
发现openChange执行了3次
后添加 placeholder 属性后,该BUG消失,openChange执行一次
请问能告知原因嘛?
What is expected?
想知道原因。
What is actually happening?
设置了defaultValue及defaultPickerValue
详情见以上代码
The text was updated successfully, but these errors were encountered: