Skip to content

[HOLD for payment 2024-08-01] [$50] Search icon has no safe area around and its hard to tap #45198

Closed

Description

@m-natarajan

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


Version Number: 9.0.6-0
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @mountiny
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1720613707699899

Action Performed:

  1. Launch the app
  2. Tap the Search icon for the chat selector

Expected Result:

The search icon tappable should be around the button anywhere

Actual Result:

Search icon seems so have super small safe area around, you really need to tap exactly on the search icon to open

Workaround:

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

Platforms:

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

Screenshots/Videos

image (12)

Add any screenshot/video evidence

View all open jobs on GitHub

Issue OwnerCurrent Issue Owner: @anmurali
Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~011f8d2de869135cc4
  • Upwork Job ID: 1811159428371033529
  • Last Price Increase: 2024-07-10
  • Automatic offers:
    • rayane-djouah | Contributor | 103071138

Activity

  1. added
    Daily
    Bug
    on Jul 10, 2024
  2. melvin-bot commented on Jul 10, 2024

    @melvin-bot

    Triggered auto assignment to @anmurali (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.

  3. Krishna2323 commented on Jul 10, 2024

    @Krishna2323
    Contributor

    Proposal

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

    Search icon seems so have super small safe area around, you really need to tap exactly on the search icon to open

    What is the root cause of that problem?

    No fixed height and width is assigned to PressableWithoutFeedback container.

    <PressableWithoutFeedback
    accessibilityLabel={translate('sidebarScreen.buttonFind')}
    style={[styles.flexRow, styles.mr2]}
    onPress={Session.checkIfActionIsAllowed(() => Navigation.navigate(ROUTES.CHAT_FINDER))}
    >
    <Icon
    src={Expensicons.MagnifyingGlass}
    fill={theme.icon}
    />
    </PressableWithoutFeedback>

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

    Add styles.touchableButtonImage to styles object and remove styles.mr2. We might also need to align the icon a bit by adding some left/right margin.

    We can also add role={CONST.ROLE.BUTTON} if needed.

    What alternative solutions did you explore? (Optional)

    Result

    search_button_fix.mp4
  4. Krishna2323 commented on Jul 10, 2024

    @Krishna2323
    Contributor
  5. neonbhai commented on Jul 10, 2024

    @neonbhai
    Contributor

    Proposal

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

    Search icon seems so have super small safe area around, you really need to tap exactly on the search icon to open

    What is the root cause of that problem?

    We don't have any padding around the Search icon, making the hitbox small.

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

    We will add styles.p1 to the button styles here, so the hitbox is bigger.

    <PressableWithoutFeedback
    accessibilityLabel={translate('sidebarScreen.buttonFind')}
    style={[styles.flexRow, styles.mr2]}
    onPress={Session.checkIfActionIsAllowed(() => Navigation.navigate(ROUTES.CHAT_FINDER))}
    >

    style={[styles.flexRow, styles.mr2, styles.p1]}

    Result

    Before Hitbox in red. Area is small and easy to miss Screenshot 2024-07-11 at 12 38 27 AM
    After Hitbox in red. Added breathing space Screenshot 2024-07-11 at 12 36 59 AM

    Without hitbox highlight:

  6. changed the title [-]Search icon seems so have super small safe area around, you really need to tap exactly on the search icon to open [/-] [+]Search icon has no safe area around and its hard to tap[/+] on Jul 10, 2024
  7. self-assigned this
    on Jul 10, 2024
  8. mountiny commented on Jul 10, 2024

    @mountiny
    Contributor

    I will make this external for $50 as its super easy

  9. added
    External
    on Jul 10, 2024
  10. changed the title [-]Search icon has no safe area around and its hard to tap[/-] [+][$250] Search icon has no safe area around and its hard to tap[/+] on Jul 10, 2024
  11. melvin-bot commented on Jul 10, 2024

    @melvin-bot
  12. added
    Help Wanted
    on Jul 10, 2024
  13. 41 remaining items

  14. Krishna2323 commented on Aug 6, 2024

    @Krishna2323
    Contributor
  15. melvin-bot commented on Aug 9, 2024

    @melvin-bot

    @anmurali, @mountiny, @rayane-djouah, @Krishna2323 Whoops! This issue is 2 days overdue. Let's get this updated quick!

  16. melvin-bot commented on Aug 13, 2024

    @melvin-bot

    @anmurali, @mountiny, @rayane-djouah, @Krishna2323 6 days overdue. This is scarier than being forced to listen to Vogon poetry!

  17. anmurali commented on Aug 14, 2024

    @anmurali
  18. Krishna2323 commented on Aug 14, 2024

    @Krishna2323
    Contributor

    Accepted, thanks.

  19. melvin-bot commented on Aug 19, 2024

    @melvin-bot

    @anmurali, @mountiny, @rayane-djouah, @Krishna2323 Eep! 4 days overdue now. Issues have feelings too...

  20. rayane-d commented on Aug 20, 2024

    @rayane-d
    Contributor

    @anmurali - What's the latest here?

  21. melvin-bot commented on Aug 21, 2024

    @melvin-bot

    @anmurali, @mountiny, @rayane-djouah, @Krishna2323 Still overdue 6 days?! Let's take care of this!

  22. melvin-bot commented on Aug 23, 2024

    @melvin-bot

    @anmurali, @mountiny, @rayane-djouah, @Krishna2323 8 days overdue is a lot. Should this be a Weekly issue? If so, feel free to change it!

  23. anmurali commented on Aug 26, 2024

    @anmurali

    This was paid a while back. Closing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Awaiting PaymentBugDailyExternal

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions