Notifications
Clear all
BugOverflow
1
Posty
1
Users
0
Reactions
1,179
Widok
0
19/06/2018 12:39 pm
Topic starter
mod
1 Answer
0
19/06/2018 12:41 pm
Topic starter
1. (warning, modify orginal files, version 0.0.5) open bootstrap-typehead.js
2. find line (~32)
1 |
that.$menu = $(that.options.menu).insertAfter(that.$element); |
that.$menu = $(that.options.menu).insertAfter(that.$element);
change to
1 |
that.$menu = $(that.options.menu).appendTo("body"); |
that.$menu = $(that.options.menu).appendTo("body");
3. find line (~119) and change
1 |
var pos = $.extend({}, this.$element.position(), { |
var pos = $.extend({}, this.$element.position(), {
to
1 |
var pos = $.extend({}, this.$element.offset(), { |
var pos = $.extend({}, this.$element.offset(), {
4. add style
.typeahead {
position:absolute !important;
z-index:10000;
}