react-native-zss-rich-text-editor
react-native-zss-rich-text-editor copied to clipboard
Keyboard Opening without selecting
In the App, the keyboard opens as soon as the view is loaded, without any interaction. Is there any possible way to avoid that?
<View style={[style.textBoxView,{height:this.state.height}]} > <RichTextEditor ref={(r)=>this.richtext = r} style={styles.richText} initialContentHTML={''} editorInitializedCallback={() => this.onEditorInitialized()} hiddenTitle={true} editorAvailableHeight={-1} footerHeight={height * 0.2} contentPlaceholder={"Write your response here ..."} customCSS ={'#zss_editor_content{ width: 100%; height: 100%; paddingTop: 8;-webkit-overflow-scrolling: touch; overflow:auto; }'} /> </View>
The default of the package is focusing the title, but in your case, you hide your title.
check the editor.html on line 920 zss_editor.focusTitle();
comment that part, your problem should be solved