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

CardFormField being aligned to the side on Android inside Dialog in Arabic #1745

Open
dovahkiin98 opened this issue Apr 30, 2024 · 2 comments
Labels
needs triage Needs triage

Comments

@dovahkiin98
Copy link

dovahkiin98 commented Apr 30, 2024

Describe the bug
The CardFormField looks fine in English, but in Arabic the form was aligned to one side. I tried adding Center to it but it didn't fix it. Even adding padding to the sides didn't change it

To Reproduce
Steps to reproduce the behavior:

  1. Have device language in Arabic
    2 Create Simple Dialog
  2. Add CardFormField as one of the children

Smartphone / tablet

  • Device: Redmi Note 7
  • OS: Android 10
  • Package version: 10.1.1
  • Flutter version 3.19.6

Additional context
image

@dovahkiin98 dovahkiin98 added the needs triage Needs triage label Apr 30, 2024
@dovahkiin98 dovahkiin98 changed the title CardFormField being aligned to the side on Android inside Dialog CardFormField being aligned to the side on Android inside Dialog in Arabic Apr 30, 2024
@remonh87
Copy link
Member

remonh87 commented May 4, 2024

I think this is a bug in flutter itself. I would not recommend using the form field in a dialog. That said can you give me a reproduction example so I better can triage the issue?

@dovahkiin98
Copy link
Author

I think this is a bug in flutter itself. I would not recommend using the form field in a dialog. That said can you give me a reproduction example so I better can triage the issue?

I can't seem to reproduce the issue in a small app, but in my app it happens whether it's inside a dialog or in a normal page

Screenshot_1714837990

I tried making my application very minimal, just a MaterialApp with a page. And the issue is still there

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

No branches or pull requests

2 participants