This is a migrated thread and some comments may be shown as answers.

Too wide MultiSelect

3 Answers 179 Views
MultiSelect
This is a migrated thread and some comments may be shown as answers.
Roland
Top achievements
Rank 3
Iron
Iron
Veteran
Roland asked on 31 Jul 2020, 02:22 PM
The MultiSelect needlesly bumps up the width when 2 chips don't fit on the same line.
After the wrap the width stays too large. See the attached image.

3 Answers, 1 is accepted

Sort by
0
Roland
Top achievements
Rank 3
Iron
Iron
Veteran
answered on 31 Jul 2020, 03:33 PM

and this fixes it for me:

.k-multiselect-wrap.k-floatwrap {
  inline-size: min-content;
  min-width: 100%;
}
0
Marin Bratanov
Telerik team
answered on 31 Jul 2020, 06:05 PM

Hi Roland,

On my end the width does not change from what was defined. Could you compare against the sample I am attaching and see what is the difference causing the issue? Can you reproduce it on this sample?

 

Regards,
Marin Bratanov
Progress Telerik

0
Roland
Top achievements
Rank 3
Iron
Iron
Veteran
answered on 31 Jul 2020, 07:46 PM

Your example works as expected, so it must be something in the styles I use.

Not going to spend any time on it now, because I have my workaround.

Tags
MultiSelect
Asked by
Roland
Top achievements
Rank 3
Iron
Iron
Veteran
Answers by
Roland
Top achievements
Rank 3
Iron
Iron
Veteran
Marin Bratanov
Telerik team
Share this question
or