File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -66,6 +66,8 @@ var ContentEditable = function (_React$Component) {
6666 || nextProps . html !== this . htmlEl . innerHTML && nextProps . html !== this . props . html
6767 // ...or if editing is enabled or disabled.
6868 || this . props . disabled !== nextProps . disabled
69+ // ...or if className changed
70+ || this . props . className !== nextProps . className
6971 ) ;
7072 }
7173 } , {
Original file line number Diff line number Diff line change @@ -33,6 +33,8 @@ export default class ContentEditable extends React.Component {
3333 && nextProps . html !== this . props . html )
3434 // ...or if editing is enabled or disabled.
3535 || this . props . disabled !== nextProps . disabled
36+ // ...or if className changed
37+ || this . props . className !== nextProps . className
3638 ) ;
3739 }
3840
You can’t perform that action at this time.
0 commit comments