1
0
mirror of http://git.whoc.org.uk/git/password-manager.git synced 2024-11-15 00:09:02 +01:00

Fixed rendering issue in card detail when in compact view

This commit is contained in:
Giulio Cesare Solaroli 2015-07-20 18:11:23 +02:00
parent c0d1848628
commit 1bc595306a

View File

@ -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);
},