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

Contact form on RTL languages come out with a messed up layout. #40737

Open
OmarFPG opened this issue Jan 24, 2024 · 11 comments
Open

Contact form on RTL languages come out with a messed up layout. #40737

OmarFPG opened this issue Jan 24, 2024 · 11 comments
Labels
[Block] Contact Form Form block (also see Contact Form label) Customer Report Issues or PRs that were reported via Happiness. aka "Happiness Request", or "User Report" [Feature] Contact Form [Feature] Forms Blocks Blocks designed to streamline user input and engagement, such as contact, newsletter sign-ups, etc. [Platform] Simple [Pri] Normal Triaged [Type] Bug When a feature is broken and / or not performing as intended

Comments

@OmarFPG
Copy link

OmarFPG commented Jan 24, 2024

Quick summary

Contact forms on sites with RTL languages such as Arabic or Hebrew have an off layout.,

Steps to reproduce

Set your site in an RTL language
Add a contact form block and publish it
See the results in the front end

What you expected to happen

The form should look good and properly layed out.be properly laid

What actually happened

Mess up layout, for instance:
image

Impact

Some (< 50%)

Available workarounds?

Yes, difficult to implement

Platform (Simple and/or Atomic)

No response

Logs or notes

Reported in 7632662-zen and 7559212-zen

@OmarFPG OmarFPG added [Type] Bug When a feature is broken and / or not performing as intended Needs triage Ticket needs to be triaged labels Jan 24, 2024
Copy link
Contributor

github-actions bot commented Jan 24, 2024

Support References

This comment is automatically generated. Please do not edit it.

  • 7632662-zen
  • 7559212-zen
  • 8009203-zen
  • 8244052-zen
  • 9065838-zen
  • 9176799-zen
  • 9223463-zen

@github-actions github-actions bot added the Customer Report Issues or PRs that were reported via Happiness. aka "Happiness Request", or "User Report" label Jan 24, 2024
@rickmgithub
Copy link

📌 REPRODUCTION RESULTS

  • Tested on Simple – Could Not Replicate
  • Tested on Atomic – Could Not Replicate

📌 ACTIONS

  • Author feedback

##Message to author##
Thanks so much for the report @OmarFPG I couldn't replicate the issue by adding a contact form to a simple and atomic site.
Looking at the screenshot it looks like this might be something to do with the theme maybe or the combination of blocks? If you have more info on how to replicate this then feel free to reopen this.

@filipanoscampos
Copy link

Reopening this issue as I was able to reproduce it with the Twenty Twenty-Four theme, which is also what the user is using.

Here is how the form is looking on my site when I change to Arabic:

Screenshot 2024-03-23 at 15 48 41

And when I switch back to English:
Screenshot 2024-03-23 at 15 50 21

With the help of the CSS inspector, we can see that the items are missing all styling :
Screenshot 2024-03-23 at 15 52 25

The correctly formatted form:
Screenshot 2024-03-23 at 15 52 55

@jp-imagines
Copy link

There's an open issue about this with more info here too: https://github.com/Automattic/i18n-issues/issues/612

@dolgelukkig
Copy link

dolgelukkig commented Apr 9, 2024

user reported the issue here 8009203-zen , work around was creating the form manually.

@pauljacobson
Copy link
Contributor

We have another report of this issue here: 8244052-zen

I tried applying a Custom CSS solution that was suggested here: 612-gh-Automattic/i18n-issues#issuecomment-2028789128 but this doesn't work with these elements.

@jartes jartes added Triaged and removed Needs triage Ticket needs to be triaged labels Jul 11, 2024
@aisajib
Copy link

aisajib commented Nov 23, 2024

This came up again in 9065838-zd-a8c

The user's site uses the RTL language, Hebrew.

I couldn't figure out a workaround. A comment above mentions creating the form manually, which I couldn't do either. Would someone have any possible workarounds?

@arunsathiya
Copy link

9176799-zen; also reported with the StartFitter theme.
Image

@arunsathiya
Copy link

I tested with Dadaist, Streamer and Professio themes too, same issue.
Image
Image
Image

@simison simison transferred this issue from Automattic/wp-calypso Dec 26, 2024
@simison simison added [Feature] Contact Form [Block] Contact Form Form block (also see Contact Form label) [Feature] Forms Blocks Blocks designed to streamline user input and engagement, such as contact, newsletter sign-ups, etc. labels Dec 26, 2024
@jartes
Copy link

jartes commented Dec 31, 2024

Another report on 9223463-zd-a8c

@mdtanjid0
Copy link

mdtanjid0 commented Jan 2, 2025

  • Another one here: 9223463-zen (the user needs to be updated once the issue is resolved)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Contact Form Form block (also see Contact Form label) Customer Report Issues or PRs that were reported via Happiness. aka "Happiness Request", or "User Report" [Feature] Contact Form [Feature] Forms Blocks Blocks designed to streamline user input and engagement, such as contact, newsletter sign-ups, etc. [Platform] Simple [Pri] Normal Triaged [Type] Bug When a feature is broken and / or not performing as intended
Projects
Development

No branches or pull requests