Commit e8b1b85073470198e7e2d029b4a4edfd0f2d034f
1 parent
b7e06424
fix: autocomplete now scrolls with the page
Showing
2 changed files
with
2 additions
and
4 deletions
common/static/common/css/common.css
entries/static/entries/js/forms.js
... | ... | @@ -236,6 +236,8 @@ function bind_autocompletes(selector) { |
236 | 236 | var autocompleted = $(this); |
237 | 237 | // https://api.jqueryui.com/autocomplete/#option-source |
238 | 238 | autocompleted.autocomplete({ |
239 | + // doesn’t work with autocompleted, perhaps bc it’s an <input> and parent is a <div> | |
240 | + appendTo: autocompleted.parent(), | |
239 | 241 | source: function(request, autocompleter) { |
240 | 242 | $.ajax({ |
241 | 243 | type : 'get', |
... | ... |