mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-23 15:09:33 +01:00
focus title input when on notebook dialog open
This commit is contained in:
@@ -205,6 +205,11 @@ export class AddNotebookDialog extends React.Component {
|
||||
transparent={true}
|
||||
animated
|
||||
animationType="fade"
|
||||
onShow={() => {
|
||||
setTimeout(() => {
|
||||
this.titleRef.focus();
|
||||
}, 300);
|
||||
}}
|
||||
onRequestClose={this.close}>
|
||||
<KeyboardAvoidingView
|
||||
behavior={Platform.OS === 'ios' ? 'padding' : null}
|
||||
|
||||
Reference in New Issue
Block a user