diff --git a/src/widgets/auto-expand/AutoExpand.js b/src/widgets/auto-expand/AutoExpand.js index 4dcf222..f1a422e 100644 --- a/src/widgets/auto-expand/AutoExpand.js +++ b/src/widgets/auto-expand/AutoExpand.js @@ -37,7 +37,12 @@ export class AutoExpand { * Autoexpand, Destroy */ destroy() { + this.target.dxOff('input.autoExpand'); this.target.dxRemoveData('autoexpand'); + + this.target.style.height = ''; + this.target.style.overflowY = ''; + this.target.style.resize = ''; } } \ No newline at end of file