react-native-zss-rich-text-editor icon indicating copy to clipboard operation
react-native-zss-rich-text-editor copied to clipboard

Keyboard Opening without selecting

Open rakeshgits opened this issue 6 years ago • 1 comments

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>

rakeshgits avatar May 25 '18 10:05 rakeshgits

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

tobiaskusnaman avatar Mar 28 '19 03:03 tobiaskusnaman