Unable to scroll the content inside the editor if the editor is in focus
See original GitHub issueI use following versions of react and react-native
react: 17.0.1 => 17.0.1 react-native: 0.64.2 => 0.64.2 react-native-pell-rich-editor: “^1.8.5”
Scroll works perfectly if the editor is not in focus and the keyboard is not present.
While trying to edit content inside the editor, lets say list of items, then we can’t scroll the content. The scrolling kind of stuck. Is there any configuration i am missing in the code. If we dismiss the keyboard and try scrolling, it will work. The issue is in both iOS and Android, in real devices and simulators.
Please help.
Thank you
Code
<ScrollView
style={[styles.scroll]}
ref={that.scrollRef}
scrollEventThrottle={20}>
<RichEditor
disabled={disabled}
editorStyle={contentStyle} // default light style
ref={that.richText}
style={styles.rich}
useContainer={true}
placeholder={'please input content'}
initialContentHTML={content}
editorInitializedCallback={that.editorInitializedCallback}
onChange={that.handleChange}
onFocus={that.handleFocus}
onBlur={that.handleBlur}
onCursorPosition={that.handleCursorPosition}
pasteAsPlainText={true}
/>
</ScrollView>
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Editor inside Scrollview not scrolling. - MSDN - Microsoft
I have an editor control inside a StackLayout which is inside a ScrollView. I can scroll all the controls but when I go...
Read more >Flutter-Quill editor not working inside a scrollable form
If I use Column, then quillEditor works perfectly fine, but it can't drive the rest of the page to scroll together (because Column...
Read more >Focus management with Vue refs - Learn web development
Next, we need to move focus to the edit form's <input> element when the "Edit" button is clicked. However, because our edit form...
Read more >Official - Important Message Related to the TextField Refactor ...
I need a text field which only gets focus when the player clicks on it and always loses focus when the player confirms...
Read more >Focus tracking - CKEditor 5 Documentation
And CKEditor 5 being a rich text editor is no exception here. ... If you want to focus the editor and move the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Following solution fixed my problem : https://github.com/wxik/react-native-rich-editor/issues/152#issuecomment-812913429
I happened to be dealing with some bugs mentioned in Issues of this project today, and I am usually very busy without time.