Resize of element not fully executing with button trigger
I have a table that will require elements to be modified. So I created a cell that had hidden items inside with an edit function trigger in another cell. When clicked the table cell containing the hidden items is to expand to a height of 300px exposing the hidden that can be modified.
Problem: Cell expands as expected with onclick event. However, does not collpase back to height of 30px from an onclick event with the button. It attempts to collapse but only resizes the cell height about 20px as seem in the 2 bottom images.
Pre edit state
Expanded for editing
Attempt to collapse with Done button
Is this a bug?