mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-22 14:39:34 +01:00
fix focus on dialog open
This commit is contained in:
@@ -206,9 +206,7 @@ export class AddNotebookDialog extends React.Component {
|
||||
animated
|
||||
animationType="fade"
|
||||
onShow={() => {
|
||||
setTimeout(() => {
|
||||
this.titleRef.focus();
|
||||
}, 300);
|
||||
this.titleRef.focus();
|
||||
}}
|
||||
onRequestClose={this.close}>
|
||||
<KeyboardAvoidingView
|
||||
|
||||
Reference in New Issue
Block a user