Closed Bug 381084 Opened 17 years ago Closed 17 years ago

Autocomplete textbox cannot be resized after the popup has shown

Categories

(Toolkit :: XUL Widgets, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: matt, Assigned: matt)

References

Details

Attachments

(2 files)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a5pre) Gecko/20070517 Songbird/0.3pre (00000000000000)

Resizing an autocomplete textbox after the popup has shown causes the popup element to take up space / take over the textbox.

Note that this not that same as Bug 78508 (“New autocomplete widget cannot be resized”).  

This is easily fixed by removing the width attribute when the popup closes.


Reproducible: Always

Steps to Reproduce:
* Put a label, a splitter, and an autocomplete textbox into a chrome window (test case to follow)
* Type in the autocomplete textbox until the popup appears
* Click to close the popup
* Type some more to confirm that the textbox still works
* Use the splitter to make the autocomplete textbox smaller
* Note that a big invisible box has appeared and is now taking up most of the internal textbox area
* DomInspect to confirm that the mysterious box is actually the hidden autocomplete popup
Must be run with chrome privs for the autocomplete textbox to work.
I've seen this.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment on attachment 265151 [details] [diff] [review]
Remove the width attribute on popup close.

r=me, thanks for the patch!
Attachment #265151 - Flags: review?(gavin.sharp) → review+
Whiteboard: [checkin needed]
Target Milestone: --- → mozilla1.9alpha5
Version: unspecified → Trunk
Assignee: nobody → matt
Whiteboard: [checkin needed]
Target Milestone: mozilla1.9alpha5 → ---
Version: Trunk → unspecified
Status: NEW → ASSIGNED
Fixed on trunk.
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: