[ic-data-table] - data table does not render when content slotted into table cell #1906
Labels
data-table component
The generic component, includes both the web component and the React component
type: bug 🐛
Something isn't working
Milestone
Summary of the bug
When adding a
<SlottedSVG>
to a table cell, the data-table does not render and an error appears in the console🪜 How to reproduce
With the following code in React storybook:
🧐 Expected behaviour
The data-table should appear with icons in the cells
📝 Acceptance Criteria
If relevant, describe in full detail the different interactions and edge cases that the component or patterns needs to fulfil.
Given a data table
When a
<SlottedSVG>
is placed in the{COLUMN_KEY}-{ROW_INDEX}
slotThen the data-table should be rendered and the icon(s) should be visible
Additional info
This only happens when using the
{COLUMN_KEY}-{ROW_INDEX}
slot.It works correctly when using the
{COLUMN_KEY}-{ROW_INDEX}-icon
slotIt also work when placing an
<svg>
directly in th eslot rather than using the<SlottedSVG>
The text was updated successfully, but these errors were encountered: