focus title

This commit is contained in:
ammarahm-ed
2020-12-31 19:42:09 +05:00
parent 3b0611d522
commit ed6b683d22

View File

@@ -257,7 +257,7 @@ export class AddNotebookDialog extends React.Component {
animationType={DDS.isTab ? 'fade' : 'slide'}
onShow={() => {
this.topicsToDelete = [];
this.hiddenInput.current?.focus();
this.titleRef?.focus();
}}
onRequestClose={this.close}>
<SafeAreaView>