Modify ↓
Ticket #3535 (closed bug: invalid)
[autocomplete] results width not accounting for padding
| Reported by: | sdyson | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | plugin | Version: | 1.2.6 |
| Keywords: | autocomplete | Cc: | |
| Blocking: | Blocked by: |
Description
The popup results have their width set to the width of the input control. If the input control has padding then the results do not stretch the full width of the control. The solution is to use innerWidth() instead of width().
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

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 .