Hello Andrew,
Greetings from Syncfusion support.
1. In multiselect component, selected value is updated in the Multiselect view wrapper based on the width calculation.
2. When parent component like dialog ,tab is made display: none and so components inside dialog or tab (Multiselect) are in hidden state.
3. When parent element is in display: none, then the offset width of their child is always zero.
4. Since, in Multiselect, we set the width for the view wrapper based on the component wrapper offset width and because of offset width is zero, view wrapper width is updated as zero.
5. So, we suggest calling the refresh method in the Dialog or Tab component’s open event to get rid of the reported issue. Refer to the code below.
open: function(args) {
args.preventFocus = true;
document.getElementById("dialogBtn").style.display = "none";
listObj.refresh();
}, |
Please find the sample below,
Regards,
Sevvandhi N