Save draft when post input unmounts (#4785)
This commit is contained in:
parent
7bd757ad15
commit
b55e88d0fe
1 changed files with 2 additions and 0 deletions
|
|
@ -74,6 +74,8 @@ export default class PostInput extends PureComponent {
|
|||
if (Platform.OS === 'android') {
|
||||
Keyboard.removeListener('keyboardDidHide', this.handleAndroidKeyboard);
|
||||
}
|
||||
|
||||
this.changeDraft(this.getValue());
|
||||
}
|
||||
|
||||
blur = () => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue