mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-22 14:39:34 +01:00
fix add notebook dialog close animation
This commit is contained in:
@@ -88,13 +88,6 @@ export class AddNotebookDialog extends React.Component {
|
||||
this.description = null;
|
||||
this.currentInputValue = null;
|
||||
this.id = null;
|
||||
this.setState({
|
||||
visible: false,
|
||||
topics: [],
|
||||
descFocused: false,
|
||||
titleFocused: false,
|
||||
editTopic: false
|
||||
});
|
||||
};
|
||||
|
||||
onDelete = index => {
|
||||
@@ -269,10 +262,13 @@ export class AddNotebookDialog extends React.Component {
|
||||
}}
|
||||
fwdRef={this.actionSheetRef}
|
||||
onClose={() => {
|
||||
console.log('closing now');
|
||||
this.close();
|
||||
this.setState({
|
||||
visible: false
|
||||
visible: false,
|
||||
topics: [],
|
||||
descFocused: false,
|
||||
titleFocused: false,
|
||||
editTopic: false
|
||||
});
|
||||
}}
|
||||
statusBarTranslucent={false}
|
||||
|
||||
Reference in New Issue
Block a user