bootstrap typehead - dropdown, global position« Wróć do listy pytań
mod |
▲ ▼ | 1. (warning, modify orginal files, version 0.0.5) open bootstrap-typehead.js
that.$menu = $(that.options.menu).insertAfter(that.$element); change to
that.$menu = $(that.options.menu).appendTo("body"); 3. find line (~119) and change
var pos = $.extend({}, this.$element.position(), { to
var pos = $.extend({}, this.$element.offset(), { 4. add style .typeahead { position:absolute !important; z-index:10000; } |
Please log in to post questions/answers: