I am using a multi-select React-Select component. One of the problems that I am facing is that if the user selects 3 or 4 options, the user interface looks pretty bad because the text starts to overflow, and this causes the component to grow horizontally and vertically.
I want to have a behavior where the size of the component remains the same, and if the user selects more parameters, then he simply displays "..." (ellipsis), and does not try to display the newly selected parameters.
The behavior I want is more related to this component.
http://instructure-react.imtqy.com/react-select-box/
See how it handles multi-selection.
I do not want to change components now because we have done many tests using React-Select.
Can you give me some guides on how to achieve this without removing the select response.
source share