mirror of
http://git.whoc.org.uk/git/password-manager.git
synced 2025-12-14 02:22:43 +01:00
Fixed rendering issue in card detail when in compact view
This commit is contained in:
@@ -33,6 +33,10 @@ Clipperz.PM.UI.Components.Cards.TextAreaClass = React.createClass({
|
||||
this.getDOMNode().addEventListener('input', this.recalculateSize, false);
|
||||
},
|
||||
|
||||
componentDidUpdate: function () {
|
||||
this.recalculateSize();
|
||||
},
|
||||
|
||||
componentWillUnmount: function() {
|
||||
this.getDOMNode().removeEventListener('input', this.recalculateSize, false);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user