Bug Tracker

Opened 14 years ago

Closed 13 years ago

#4349 closed enhancement (invalid)

Autocompete jqmodal support

Reported by: essl Owned by:
Priority: major Milestone: 1.4
Component: plugin Version: 1.3.2
Keywords: autocomlete Cc: [email protected]
Blocked by: Blocking:


autocomplete doesn't support jqmodal, or showing on fixed positioned text input. This is the patch:

--- a/jquery.autocomplete.js +++ b/jquery.autocomplete.js @@ -12,7 +12,11 @@ jQuery.autocomplete = function(input, options) {

var results = document.createElement("div"); Create jQuery object for results var $results = $(results);

  • $results.hide().addClass(options.resultsClass).css("position", "absolute");

+ if($input.css('position') == 'static') { + $results.hide().addClass(options.resultsClass).css("position", "fixed"); + } else { + $results.hide().addClass(options.resultsClass).css("position", "absolute"); + }

if( options.width > 0 ) $results.css("width", options.width);

Add to body element

Change History (1)

comment:1 Changed 13 years ago by dmethvin

Resolution: invalid
Status: newclosed

This is not a jQuery core bug. Please report plugin bugs to the plugin's author, or ask on the jQuery forums. jQuery UI bugs should be reported on the UI bug tracker, http://dev.jqueryui.com .

Note: See TracTickets for help on using tickets.