Insert results list div to any DOM element
Closed this issue · 1 comments
betamos commented
The need can occur that a user wants to place the results list anywhere. Perhaps through a callback or by providing an optional parent element in the options?
Also, another question that arises from that idea is to deal with showing/hiding the results list.
betamos commented
This brings along other questions as well. Currently the list is absolute positioned against the closest ancestor which is positioned (offsetParent). If it should be appended to another element, then this behavior should probably be suppressed.
Maybe it's better to create a callback for the entire "insert into DOM and position process" instead? Also, some of the CSS is closely bound to this absolute behavior. That must be dealt with as well in that case.