Commit e416e47
Added back
This adds back the `dropdownAutoWidth` option, so the dropdown can
have a width that is automatically determined by the browser. This
works best for smaller dropdowns that contain options with large
amounts of text.
This closes select2#3103.
This closes select2#3113.
Signed-off-by: Kevin Brown <kevin@kevin-brown.com>dropdownAutoWidth option1 parent 86bf6dc commit e416e47
7 files changed
Lines changed: 34 additions & 10 deletions
File tree
- dist/js
- i18n
- src/js/select2
- dropdown
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4098 | 4098 | | |
4099 | 4099 | | |
4100 | 4100 | | |
4101 | | - | |
| 4101 | + | |
4102 | 4102 | | |
4103 | | - | |
| 4103 | + | |
| 4104 | + | |
| 4105 | + | |
| 4106 | + | |
| 4107 | + | |
| 4108 | + | |
| 4109 | + | |
| 4110 | + | |
4104 | 4111 | | |
4105 | 4112 | | |
4106 | 4113 | | |
| |||
4619 | 4626 | | |
4620 | 4627 | | |
4621 | 4628 | | |
| 4629 | + | |
4622 | 4630 | | |
4623 | 4631 | | |
4624 | 4632 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4098 | 4098 | | |
4099 | 4099 | | |
4100 | 4100 | | |
4101 | | - | |
| 4101 | + | |
4102 | 4102 | | |
4103 | | - | |
| 4103 | + | |
| 4104 | + | |
| 4105 | + | |
| 4106 | + | |
| 4107 | + | |
| 4108 | + | |
| 4109 | + | |
| 4110 | + | |
4104 | 4111 | | |
4105 | 4112 | | |
4106 | 4113 | | |
| |||
4619 | 4626 | | |
4620 | 4627 | | |
4621 | 4628 | | |
| 4629 | + | |
4622 | 4630 | | |
4623 | 4631 | | |
4624 | 4632 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
356 | 356 | | |
357 | 357 | | |
358 | 358 | | |
| 359 | + | |
359 | 360 | | |
360 | 361 | | |
361 | 362 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
179 | 179 | | |
180 | 180 | | |
181 | 181 | | |
182 | | - | |
| 182 | + | |
183 | 183 | | |
184 | | - | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
185 | 192 | | |
186 | 193 | | |
187 | 194 | | |
| |||
0 commit comments