-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
when richeditor in scrollview , the cursor will be below of keyboard #71
Comments
I was having the same issue and added |
I also encountered this problem, I would like to ask how to solve the problem,added |
The same problem! |
|
Did you guys solved? |
I used this:
where editor is Rich Editor and mScroll is the ScrollView |
Thanks, @abahl817 The best thing I come up with was to remove the Editor from Scrollview |
I would need solution too to this one |
@beczesz Don't put web view inside the scroll view. |
I found a solution:
|
None of the solutions worked for me. |
But how do you scroll the text later? |
For me also getting same issue,After 15 lines Cursor is going Below keypad . Any solution for this ,Any Idea.. |
I just found the solution. Just remove the scroll view, keep just the editor inside a constraint view, like this:
Then go to your activity and add this line: That will do the work. I realized that the rich text editor it's already scrolling by adding another scrollview, it creates a conflict. I hope it works for you, it did for me. Also if you want to have even more space, you can add more PADDING bottom when you initialize the editor, a value of 50 gives enough space to have always the cursor around middle of the screen. |
No luck,Still Same issue |
@rubendarioramirez I just leave the rest to the user ;p |
`/**
test this |
ViewTreeObserver observer = scrollView.getViewTreeObserver(); |
Has anybody solved it? |
Yes, with this: getActivity().getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_RESIZE); |
This one works without scrollview. But not working inside scrollview. |
class customEditor : RichEditor {
} this works fine guys you can try |
请问 getDP(18)是什么意思,是计算RicheEditor中内容的高度吗? |
对我有用,非常感谢,大佬。 |
text is: cursor at here
The text was updated successfully, but these errors were encountered: