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

Android - Chat - Both parentheses and code block alignment is not same #49935

Open
1 of 6 tasks
lanitochka17 opened this issue Sep 30, 2024 · 3 comments
Open
1 of 6 tasks
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2

Comments

@lanitochka17
Copy link

lanitochka17 commented Sep 30, 2024

If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!


Version Number: 9.0.41-2
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression t sting, add the test name, ID and link from TestRail: N/A
Issue reported by: Applause - Internal Team

Action Performed:

  1. Launch app in both Android and mweb
  2. Open a chat
  3. Paste the text - def test_code(): print(ode block test)
  4. Send the message
  5. Note code block and Parentheses alignment

Expected Result:

Both parentheses and code block alignment must be same

Actual Result:

In Android, slightly above parentheses, code block is displayed. In mweb, both parentheses and code block display in same line

Workaround:

Unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence

om expensify chat-edit

View all open jobs on GitHub

@lanitochka17 lanitochka17 added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Sep 30, 2024
Copy link

melvin-bot bot commented Sep 30, 2024

Triggered auto assignment to @alexpensify (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.

@lanitochka17
Copy link
Author

We think that this bug might be related to #Live Markdown

@kushu7
Copy link
Contributor

kushu7 commented Sep 30, 2024

Proposal

Please re-state the problem that we are trying to solve in this issue.

parentheses and code block alignment is not same mismatch

What is the root cause of that problem?

Its happening because we are providing height here.

style={styles.codeWordWrapper}

What changes do you think we should make in order to solve the problem?

By removing height element from here fixes the issue.
This file is used for Android and IOS only.

style={styles.codeWordWrapper}

Checked on both android and ios.

Android

Screenshot_1727716468

Ios

Simulator Screenshot - iPhone 16 Plus - 2024-09-30 at 22 43 42

What alternative solutions did you explore? (Optional)

None

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2
Projects
None yet
Development

No branches or pull requests

3 participants