You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If cell data contains a trailing whitespace character, four (4) additional newline chars will be appended to the text node inside of the dt-cell__content div. This can cause the text-overflow: ellipsis; CSS rule to engage prematurely, and will unnecessarily truncate the content of the cell.
It would seem that this is a result of using a template string to format the cell HTML. I've referenced line 864 of cellmanager.js where this is declared. Collapsing the template string to a single line should fix this issue. If this exceeds max line length, concatenating the variables prior to integrating into the template string may be another option.
If cell data contains a trailing whitespace character, four (4) additional newline chars will be appended to the text node inside of the
dt-cell__content
div. This can cause thetext-overflow: ellipsis;
CSS rule to engage prematurely, and will unnecessarily truncate the content of the cell.It would seem that this is a result of using a template string to format the cell HTML. I've referenced line 864 of cellmanager.js where this is declared. Collapsing the template string to a single line should fix this issue. If this exceeds max line length, concatenating the variables prior to integrating into the template string may be another option.
datatable/src/cellmanager.js
Lines 864 to 872 in a090176
The text was updated successfully, but these errors were encountered: