Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/jquery/68.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/backbone.js/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Jquery twitter引导程序typeahead RTL-位置错误_Jquery_Css_Twitter Bootstrap_Bootstrap Typeahead - Fatal编程技术网

Jquery twitter引导程序typeahead RTL-位置错误

Jquery twitter引导程序typeahead RTL-位置错误,jquery,css,twitter-bootstrap,bootstrap-typeahead,Jquery,Css,Twitter Bootstrap,Bootstrap Typeahead,我正在使用twitter引导程序typeahead从服务器获取数据,并将其显示为用户类型 问题是我的站点是RTL,这使得结果框无法对齐 在chrome上,结果框与最右侧对齐,在FF上,结果框显示在输入的左侧 我试图寻找它,但似乎没有解决办法 这是twitter引导应用的硬编码样式: <ul class="typeahead dropdown-menu dropdown-fixed" style="top: 191px; left: 849px; display: none;">

我正在使用twitter引导程序typeahead从服务器获取数据,并将其显示为用户类型

问题是我的站点是RTL,这使得结果框无法对齐

在chrome上,结果框与最右侧对齐,在FF上,结果框显示在输入的左侧

我试图寻找它,但似乎没有解决办法

这是twitter引导应用的硬编码样式:

<ul class="typeahead dropdown-menu dropdown-fixed" style="top: 191px; left: 849px; display: none;">
有没有办法正确对齐它?
10x

我通过删除以下项的左属性使其工作:

this.$menu.insertAfter(this.$element).css({top:b.top+b.height,left:b.left}).show(),this.shown=!0,this}
并在下拉列表中使用固定的正确位置