Opened 11 years ago
Last modified 5 years ago
#10922 open enhancement
Select: support automatically computed fixed width
Reported by: | bill | Owned by: | |
---|---|---|---|
Priority: | high | Milestone: | 1.15 |
Component: | Dijit - LnF | Version: | 1.4.0 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
The width of the Select widget changes depending on which option is selected. It would be better if it remained a constant width, the width of the widest option.
Problem can probably be lessened (worked around) by setting a min-width on (one of the) Select's DOMNodes, but that won't work on IE6 and it will be hard to find a "just wide enough" width setting, since the drop down options may change over time, and also because they will change width depending on browser zoom setting.
The optimal solution is probably to work like Calendar does, where all the options are rendered inside a 1px tall hidden div, just to get the width of the widest element (all without JS size calculations).
Change History (8)
comment:1 Changed 10 years ago by
Owner: | set to Douglas Hays |
---|
comment:2 Changed 8 years ago by
comment:3 Changed 8 years ago by
Summary: | Select: support fixed width → Select: support automatically computed fixed width |
---|---|
Type: | defect → enhancement |
comment:4 Changed 8 years ago by
Hello,
Is there any idea of when this enhancement will be made? I see it is high priority...
Thanks! David
comment:5 Changed 7 years ago by
Owner: | Douglas Hays deleted |
---|---|
Status: | new → assigned |
comment:6 Changed 7 years ago by
Status: | assigned → open |
---|
comment:7 Changed 5 years ago by
Milestone: | future → 1.12 |
---|
comment:8 Changed 5 years ago by
Milestone: | 1.13 → 1.15 |
---|
Ticket planning... move current 1.13 tickets out to 1.15 to make it easier to move tickets into the 1.13 milestone.
#17055 is a duplicate of this ticket.