Skip to content

Commit 9396c0f

Browse files
committed
#WOA-2358|Resolved|Focus title during initialization
1 parent 7c353e7 commit 9396c0f

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/RichTextEditor.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,7 @@ export default class RichTextEditor extends Component {
225225
style={{flex: 1}}
226226
{...this.props}
227227
hideKeyboardAccessoryView={true}
228+
keyboardDisplayRequiresUserAction={false}
228229
ref={(r) => {this.webviewBridge = r}}
229230
onBridgeMessage={(message) => this.onBridgeMessage(message)}
230231
injectedJavaScript={injectScript}

src/editor.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -883,6 +883,8 @@
883883
whenPastingInsertAsPlainText('zss_editor_title');
884884
whenPastingInsertAsPlainText('zss_editor_content');
885885

886+
zss_editor.focusTitle();
887+
886888
setTimeout(function() {
887889
WebViewBridge.send(JSON.stringify({type: 'ZSS_INITIALIZED'}))
888890
}, 20);

0 commit comments

Comments
 (0)