Angularjs 角度引导式typeahead不';不响应单击或箭头键

Angularjs 角度引导式typeahead不';不响应单击或箭头键,angularjs,angular-ui-bootstrap,bootstrap-typeahead,Angularjs,Angular Ui Bootstrap,Bootstrap Typeahead,我有一个奇怪的问题,似乎无法在JSFIDLE中复制。 我有一个简单的typeahead(我使用了bootstrap网站上的states示例)。所有这些都很好,除了箭头键不允许我在下拉列表中导航,并且单击某个项目不会选择它(即,不会在文本框中填充它) 我想它可能是我的css在其他地方,所以我已经注释掉了所有的css,仍然没有运气 谁能告诉我该去哪里找?关于什么可能是错误的有什么理论吗 我会发布一些代码,但我确实在我的代码中粘贴了这个示例()很明显,bootstrap和angular 1.3存在一些

我有一个奇怪的问题,似乎无法在JSFIDLE中复制。 我有一个简单的typeahead(我使用了bootstrap网站上的states示例)。所有这些都很好,除了箭头键不允许我在下拉列表中导航,并且单击某个项目不会选择它(即,不会在文本框中填充它)

我想它可能是我的css在其他地方,所以我已经注释掉了所有的css,仍然没有运气

谁能告诉我该去哪里找?关于什么可能是错误的有什么理论吗


我会发布一些代码,但我确实在我的代码中粘贴了这个示例()

很明显,bootstrap和angular 1.3存在一些已知的问题。看

使用angular版本1.2.21解决了这个问题


在这里发布答案,以防其他人扯掉他们的头发…

这是修复方法,目前哪一个尚未合并:

因此,修复方法是在加载angular bootstrap ui后的任意位置包含以下代码:

angular.module("template/typeahead/typeahead-popup.html", []).run(["$templateCache", function($templateCache) {
    $templateCache.put("template/typeahead/typeahead-popup.html",
        "<ul class=\"dropdown-menu\" ng-show=\"isOpen()\" ng-style=\"{top: position.top+'px', left: position.left+'px'}\" style=\"display: block;\" role=\"listbox\" aria-hidden=\"{{!isOpen()}}\">\n" +
        "    <li ng-repeat=\"match in matches track by $index\" ng-class=\"{active: isActive($index) }\" ng-mouseenter=\"selectActive($index)\" ng-click=\"selectMatch($index)\" role=\"option\" id=\"{{match.id}}\">\n" +
        "        <div typeahead-match index=\"$index\" match=\"match\" query=\"query\" template-url=\"templateUrl\"></div>\n" +
        "    </li>\n" +
        "</ul>");
}]);
angular.module(“template/typeahead/typeahead popup.html”,[])。运行([“$templateCache”),函数($templateCache){
$templateCache.put(“template/typeahead/typeahead popup.html”,
“”;
}]);

我爱你@barius。我试过这个,它使其他东西破裂。