From e1d0932c1bb197b900b92411e3ca0547d3495fd4 Mon Sep 17 00:00:00 2001 From: wxik_noohle Date: Thu, 27 May 2021 17:30:27 +0800 Subject: [PATCH] Scroll problem --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index c946949..5d47d3f 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,13 @@ Also, follow instructions [here](https://github.com/react-native-community/react ![](readme/editor.jpg) +--- +## Scroll problem +###`usecontainer = {true}` Need to be placed in ScrolView and add a callback method `oncursorPosition` to handle scroll bar positioning, refer to Examples +```this.scrollRef.current.scrollTo({y: scrollY - 30, duration: 100, animated: true});``` + +--- + ## `RichEditor` The editor component. Simply place this component in your view hierarchy to receive a fully functional Rich text Editor.