surveyjs / survey-library

Free JavaScript form builder library with integration for React, Angular, Vue, jQuery, and Knockout.
https://surveyjs.io/form-library
MIT License
4.01k stars 780 forks source link

Multi-Select Matrix - Impossibile to fix a Dropdown column width #8382

Open JaneSjs opened 3 weeks ago

JaneSjs commented 3 weeks ago

https://surveyjs.answerdesk.io/internal/ticket/details/T18505

It is impossible to fix a column width using the column.width property. When a dropdown item has a long caption, the column width is expanded. It should be possible to restrict a matrix column width.

JaneSjs commented 3 days ago

In the meantime, please apply the following CSS to fix the issue:

.sd-table__cell > .sd-table__question-wrapper .sd-dropdown__value .sv-string-viewer,
.sd-table__cell > .sd-table__question-wrapper .sd-dropdown__value .sd-dropdown__hint-suffix {
       position: absolute;
       left: 0;
       width: 100%;
}

View Demo