Side navigation
#4349 closed enhancement (invalid)
Opened March 13, 2009 04:48PM UTC
Closed October 12, 2009 11:43PM UTC
Autocompete jqmodal support
Reported by: | essl | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.4 |
Component: | plugin | Version: | 1.3.2 |
Keywords: | autocomlete | Cc: | boris.churzin@gmail.com |
Blocked by: | Blocking: |
Description
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
Attachments (0)
Change History (1)
Changed October 12, 2009 11:43PM UTC by comment:1
resolution: | → invalid |
---|---|
status: | new → closed |
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 .