简体   繁体   English

角ui日期与最新的jQuery ui datepicker重新打开IE(11)

[英]angular ui date with latest jquery ui datepicker reopening IE(11)

I am trying to use the latest angular 1.5.8, jQuery 3 and jQuery UI 1.12 versions together with angular ui date 1.0.1. 我正在尝试使用最新的angular 1.5.8,jQuery 3和jQuery UI 1.12版本以及angular ui日期1.0.1。

These versions combined work fine in chrome / firefox. 这些版本在chrome / firefox中完美结合。 But now it seems that in IE11 the datepicker keeps reopening after selecting a date. 但是现在看来,在IE11中,日期选择器在选择日期后仍会重新打开。

A very basic fiddle with a failing example: https://jsfiddle.net/37zt9pj7/ 一个非常简单的小提琴,上面有一个失败的例子: https : //jsfiddle.net/37zt9pj7/

HTML code in the example: 示例中的HTML代码:

<body ng-app="test">
<input type="text" ng-model="datum" ui-date>
</body>

And angular module: 和角度模块:

angular.module('test', ['ui.date']);

I've tried many fixes for 'reopening issues' with previous versions, but it looks like these don't work for the current versions. 我已经尝试了许多针对以前版本的“重新打开问题”的修复程序,但是看起来这些不适用于当前版本。

Related: https://bugs.jqueryui.com/ticket/9125 相关: https : //bugs.jqueryui.com/ticket/9125

Has anyone found a fix for this already? 有人找到了解决办法吗?

seems like this is a bug in the ui date 1.0.1 version of the library, unrelated to angular/jquery/jquery-ui. 似乎这是库的ui date 1.0.1版本中的错误,与angular / jquery / jquery-ui无关。 Using 1.0.0 solves my issue. 使用1.0.0解决了我的问题。

Will close the question, and report a bug for the library. 将关闭问题,并报告该库的错误。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM