【问题标题】:Bootstrap Typehead not accepting "&" on Google ChromeBootstrap Typeahead 不接受 Google Chrome 上的“&”
【发布时间】:2013-06-13 08:53:08
【问题描述】:

我在 Google Chrome 上遇到了奇怪的问题,Firefox 似乎没有受到这个问题的影响。

重现问题

转到http://twitter.github.io/bootstrap/javascript.html#typeahead

输入任何东西,例如A,一旦出现自动建议,尝试输入“&”,直到显示自动建议才会接受。

我尝试用 Google 搜索它,但没有找到任何东西。另外,这不是报告的问题:https://github.com/twitter/bootstrap/issues?labels=js&state=open

有人可以确认他们是否也面临这个问题吗?或者,如果它已经通过 Bootstrap 报告。

提前致谢

狂欢

【问题讨论】:

  • 请注意,这也是IE的问题,在IE8/9上重新生成。

标签: bootstrap-typeahead


【解决方案1】:

找到解决方案:

我在 Bootstrap 的 Github 页面上报告了这个问题:https://github.com/twitter/bootstrap/issues/8190

他们已告知 Bootstrap Typeahead 已被弃用,他们计划继续使用 Twiter Typehead:http://twitter.github.io/typeahead.js/examples/

Twitter 字头不包含上述报告的问题。将使用 Twitter 字体而不是 Bootstrap 字体。

谢谢。

【讨论】:

    猜你喜欢
    • 2013-04-07
    • 2012-07-25
    • 1970-01-01
    • 2016-10-26
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多