Skip to content
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

Bug: editor is displaying as blank rectangle on Samsung devices running 8.0.0 #188

Open
JT9193 opened this issue Sep 23, 2018 · 3 comments

Comments

@JT9193
Copy link

JT9193 commented Sep 23, 2018

I can't replicate this myself, however, I have multiple users reporting that they're seeing white rectangles instead of the text. On the devices that I own (LG and Motorola) and all of the emulators I've tried, I'm not seeing this problem. I haven't heard this issue from anyone else except people that have a Samsung device with Oreo.

I attached an image of what one of our users saw and the other is what it looks like on any other kind of device.

example2

ideal

In the code, I just have a RecyclerView and inside of the ViewHolder, I'm setting the rich text editor.

view.rich_text.setEditorHeight(20)
view.rich_text.setEditorFontSize(14)
view.rich_text.setPadding(0, 10, 10, 10)
view.rich_text.setEditorFontColor(Color.WHITE)
view.rich_text.html = content
view.rich_text.setInputEnabled(false)

Any ideas?

@ashish-bahl
Copy link

I have the same issue where it just randomly zones out, doesn't display the hint either, formatting and image insertion doesn't work at all.

@a-v-ebrahimi
Copy link

I have same issue. Sometimes content are blank and sometimes not. I tried a Handler to make sure it's threadsafe but still sometimes html content remains blank ( while I set it )

@rubendarioramirez
Copy link

I fixed the issue by setting the background color: mEditor.setBackgroundColor(getResources().getColor(R.color.background_4));

where mEditor is the editor, that way I always make sure that this doesn't happen. Not sure the root case but that's the solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants