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
Make Collapse element visible by clicking plus button
Actual behavior
Collapse renders a tr root element, then wraps the contents in an invalid <div> tag, which causes the browser to wrap the div in a td element. Discussed here: #3652
Expected behavior
Collapse renders one or more tr elements containing td children into the existing table
Possible solution
The root tag specified by the component prop is rendered and passed container style classes, etc., but then a div tag is hardcoded as the direct child. The div would need to be removed, since it is not a valid child of a tr or other table elements. Could the properties currently embedded in the div be passed directly to the children?
The text was updated successfully, but these errors were encountered:
adidahiya
changed the title
Cannot render table rows or other table elements in a Collapse
Cannot render Collapse inside table rows or cells
Feb 4, 2020
Environment
If possible, link to a minimal repro (fork this code sandbox): https://codesandbox.io/s/blueprint-sandbox-kxl82
Steps to reproduce
Actual behavior
Collapse renders a tr root element, then wraps the contents in an invalid
<div>
tag, which causes the browser to wrap the div in a td element. Discussed here: #3652Expected behavior
Collapse renders one or more tr elements containing td children into the existing table
Possible solution
The root tag specified by the component prop is rendered and passed container style classes, etc., but then a div tag is hardcoded as the direct child. The div would need to be removed, since it is not a valid child of a tr or other table elements. Could the properties currently embedded in the div be passed directly to the children?
The text was updated successfully, but these errors were encountered: