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

Multi-line RTL warnings are messed-up on Safari #8696

Open
1 task done
clementcontet opened this issue Dec 13, 2024 · 1 comment
Open
1 task done

Multi-line RTL warnings are messed-up on Safari #8696

clementcontet opened this issue Dec 13, 2024 · 1 comment
Labels
issue: bug Describes why the code or behaviour is wrong issue: triage Issues awaiting triage by a Blockly team member

Comments

@clementcontet
Copy link
Contributor

clementcontet commented Dec 13, 2024

Check for duplicates

  • I have searched for similar issues before opening a new one.

Description

Multi-lines warning texts in RTL languages on Safari are left aligned and go out of the TextBubble.
They are fine in Chrome and Firefox, and they are also fine when using a LTR language but with Blockly 'rtl' option enabled

Reproduction steps

Reproduced on 11.1 and 11.2

Stack trace

Screenshots

Image

Browsers

Safari desktop

@clementcontet clementcontet added issue: bug Describes why the code or behaviour is wrong issue: triage Issues awaiting triage by a Blockly team member labels Dec 13, 2024
@clementcontet
Copy link
Contributor Author

clementcontet commented Dec 14, 2024

It's more complex than I thought: the sentences in Safari are inverted (last line is shown first) and some fragments jumps from a line to another!

See the correct display in Chrome (well except for the comma placement, that is only rendered correctly in Firefox):
Image

Even the string in GitHub (https://github.com/Orange-OpenSource/super-coding-ball/blob/main/src/assets/i18n/he.json#L90) is displayed differently in Chrome and Safari!

I didn't try the comment's TextInputBubble to see if there is the same issue.

@clementcontet clementcontet changed the title Multi-line RTL warnings are misaligned on Safari Multi-line RTL warnings are messed-up on Safari Dec 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue: bug Describes why the code or behaviour is wrong issue: triage Issues awaiting triage by a Blockly team member
Projects
None yet
Development

No branches or pull requests

1 participant