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

Text dissapears when you try to translate a campaign to english #1644

Open
dimitur2204 opened this issue Oct 30, 2023 · 2 comments
Open

Text dissapears when you try to translate a campaign to english #1644

dimitur2204 opened this issue Oct 30, 2023 · 2 comments
Labels
status: on hold No action is expected with this label type: bug Something isn't working

Comments

@dimitur2204
Copy link
Contributor

Which area(s) of Podkrepi.bg are affected?

No response

Describe the Bug

When you use the built-in translate in Google Chrome to translate a campaign the texts becomes invisible. It seems like it is still on the page, but becomes white for some reason.

To Reproduce

Go to a campaign page. Right click on the page and click "Translate to English".
image

Expected Behavior

The text should be translated and readable.

Which browser are you using? (if relevant)

Version 118.0.5993.117 (Official Build) (arm64)

@dimitur2204 dimitur2204 added the type: bug Something isn't working label Oct 30, 2023
@sashko9807
Copy link
Member

Seems like using ReactQuill to render HTML text, breaks this as well. We should probably ditch it for reading HTML, in favor of dangerouslySetInnerHTML prop.

#1536 is another issue, mainly caused by using ReactQuill to read HTML text.

@igoychev
Copy link
Contributor

There is a ticket in progress for translating the description that will be loaded from backend:
#1290
so the disappearing text will get solved with that

@igoychev igoychev added the status: on hold No action is expected with this label label Nov 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: on hold No action is expected with this label type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants