#8248 closed bug (worksforme)
Width of Second Autocomplete on Page Defaults to Zero in Chrome and IE to scott.gonzalez
Reported by: | Nathan_SF | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.9.0 |
Component: | ui.autocomplete | Version: | 1.8.18 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
When I only place one autocomplete input on a page the width is fine in all browsers. I recently created a page with a second autocomplete, and it works fine in Firefox 11.0. However, in Chrome 18.0, IE 8, and IE 9 the second autocomplete defaults to a width of zero. Even if I set the min-width property via css, it's overridden with element.style {width: 0px;}.
On one page, I have 3 autocomplete input fields. For all browsers (including FF 11.0), the third input has a width set to zero which I have not been able to override. I've tried forcing the CSS with jquery with $('#uniqueID > input.ui-autocomplete-input').css('width', '300px') and it's still overridden by element.style{width: 0px;}.
I'm using latest version of jquery 1.7.1, and latest jquery UI 1.8.18.
Change History (6)
comment:1 Changed 11 years ago by
Resolution: | → worksforme |
---|---|
Status: | new → closed |
comment:3 follow-up: 5 Changed 11 years ago by
Cc: | scott.gonzalez added |
---|---|
Keywords: | scott.gonzalez added |
Reporter: | changed from Nathan_SF to scott.gonzalez |
Summary: | Width of Second Autocomplete on Page Defaults to Zero in Chrome and IE → scott.gonzalez |
There are, in fact, two autocompletes on that page.
comment:4 Changed 11 years ago by
Cc: | scott.gonzalez removed |
---|---|
Keywords: | scott.gonzalez removed |
Reporter: | changed from scott.gonzalez to Nathan_SF |
Summary: | scott.gonzalez → Width of Second Autocomplete on Page Defaults to Zero in Chrome and IE to scott.gonzalez |
Whoa, I think 1Password just freaked out and I wasn't even using it.
comment:5 Changed 11 years ago by
Replying to scott.gonzalez:
There are, in fact, two autocompletes on that page.
You are correct, my mistake. We are using select boxes, not input fields. Can you test that scenario?
Thanks.
http://jsbin.com/ewuxer/edit#javascript,html,live