clear width/hieght on done

This commit is contained in:
Seth Trowbridge 2023-05-20 08:15:09 -04:00
parent 52c731c794
commit de6115248a

View File

@ -57,7 +57,8 @@ export function Collapser(inElement:HTMLElement, initialState = false)
inEvent.stopPropagation();
if (userMode)
{
inElement.style.height = "auto";
inElement.style.height = "";
inElement.style.width = "";
inElement.style.overflow = "visible";
}
userDone(userMode);