vitalets / angular-xeditable

Edit in place for AngularJS
http://vitalets.github.io/angular-xeditable
MIT License
1.91k stars 403 forks source link

Editable does not reset the width of the parent <td> element after close #730

Open soundstage opened 6 years ago

soundstage commented 6 years ago

Before clicking on any editable element.

image

After any of the element is clicked.

image

After element has been edited and editable is closed.

image

A large blank gets added to the parent after the editable is closed. This occurs after both submit and cancel.

The following is the editable code that I have implemented. <a ng-repeat="(key, value) in item" href="#" e-rows="1" e-cols="30" ng-class="{$last:'editable-textarea'}" e-style="width: 300px" editable-textarea="value" e-label="{{key}}" onaftersave="view.saveGridResource(topKey,item,key, value, resource)">{{value||"empty"}}</a>

How do I solve this blank space being added after any element?

ckosloski commented 6 years ago

What does your table code look like? Can you provide a plunkr or jsfiddle showing your issue?