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

Login - Email and password fields are misaligned with left edge #6321

Closed
isagoico opened this issue Nov 16, 2021 · 10 comments
Closed

Login - Email and password fields are misaligned with left edge #6321

isagoico opened this issue Nov 16, 2021 · 10 comments
Assignees
Labels
Daily KSv2 DeployBlockerCash This issue or pull request should block deployment Engineering Hourly KSv2 Internal Requires API changes or must be handled by Expensify staff Reviewing Has a PR in review

Comments

@isagoico
Copy link

isagoico commented Nov 16, 2021

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Action Performed:

  1. Open app while logged out
  2. Input an email address and tap Continue

Expected Result:

Text input is aligned with left edge - no croppings

Actual Result:

Text input is not aligned with left edge. Because of that, any text that doesn't fit the field gets cropped in the right

Workaround:

Can the user still use Expensify without this being fixed? Have you informed them of the workaround?

Platform:

Where is this issue occurring?

  • Android

Version Number: 1.1.15-1

Reproducible in staging?: Yes
Reproducible in production?: Unknown

Logs: https://stackoverflow.com/c/expensify/questions/4856

Notes/Photos/Videos: Any additional supporting documentation

Expensify/Expensify Issue URL:
Issue reported by: @roryabraham / Applause
Slack conversation: https://expensify.slack.com/archives/C01GTK53T8Q/p1636663544142100

View all open jobs on GitHub

@MelvinBot
Copy link

Triggered auto assignment to @flodnv (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

@flodnv flodnv removed their assignment Nov 16, 2021
@flodnv flodnv added the External Added to denote the issue can be worked on by a contributor label Nov 16, 2021
@MelvinBot
Copy link

Triggered auto assignment to @jliexpensify (External), see https://stackoverflow.com/c/expensify/questions/8582 for more details.

@emonidi
Copy link

emonidi commented Nov 16, 2021

in LoginForm.js Line:114 set translateX={-10}

This will fix it.

@isagoico isagoico added the DeployBlockerCash This issue or pull request should block deployment label Nov 16, 2021
@isagoico
Copy link
Author

@AndrewGable @roryabraham I think this bug may be a deploy blocker. This was not reproducible when I checked this comment from Rory last week on the staging build https://expensify.slack.com/archives/C01GTK53T8Q/p1636680928146700?thread_ts=1636663544.142100&cid=C01GTK53T8Q

I'm gonna add the blocker label. Please remove if you disagree.

@OSBotify
Copy link
Contributor

👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open StagingDeployCash deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:

  1. Identify the pull request that introduced this issue and revert it.
  2. Find someone who can quickly fix the issue.
  3. Fix the issue yourself.

@github-actions github-actions bot added Hourly KSv2 and removed Daily KSv2 labels Nov 16, 2021
@roryabraham
Copy link
Contributor

Since this is now an hourly deploy blocker, we need to make it internal.

@roryabraham roryabraham added External Added to denote the issue can be worked on by a contributor Internal Requires API changes or must be handled by Expensify staff and removed External Added to denote the issue can be worked on by a contributor labels Nov 16, 2021
@MelvinBot
Copy link

Current assignee @ is eligible for the External assigner, not assigning anyone new.

@MelvinBot MelvinBot added the Daily KSv2 label Nov 16, 2021
@Jag96
Copy link
Contributor

Jag96 commented Nov 16, 2021

Looking into this one, translateX doesn't fully solve the issue since that also affects the x value of the label

@Jag96 Jag96 self-assigned this Nov 16, 2021
@Jag96 Jag96 removed the External Added to denote the issue can be worked on by a contributor label Nov 16, 2021
@Jag96
Copy link
Contributor

Jag96 commented Nov 16, 2021

I think I sorted it out, looks like translateX was being passed via inputProps to the TextInput component here, but we recently updated inputProps to omit the ExpensiTextInput prop types here which includes translateX, so it was never being passed down. Will run through some testing and make a PR.

@emonidi
Copy link

emonidi commented Nov 16, 2021

I think I sorted it out, looks like translateX was being passed via inputProps to the TextInput component here, but we recently updated inputProps to omit the ExpensiTextInput prop types here which includes translateX, so it was never being passed down. Will run through some testing and make a PR.

Yep. Too deep to much cascading. Flat is not that bad you know. And yeah take a look at my comment above 😂

@Jag96 Jag96 added the Reviewing Has a PR in review label Nov 17, 2021
@botify botify closed this as completed Nov 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Daily KSv2 DeployBlockerCash This issue or pull request should block deployment Engineering Hourly KSv2 Internal Requires API changes or must be handled by Expensify staff Reviewing Has a PR in review
Projects
None yet
Development

No branches or pull requests

9 participants