Skip to content

[$1000] Date picker is not centered and has too small clickable area #12957

Closed

Description

@kavimuru

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. Go to any view with a date picker
  2. Ex: Workspace -> Connect Bank Account -> Connect Manual -> Company Step -> Check Incorporation date

Expected Result:

The calendar icon should be centered vertically and clickable anywhere as we do for password hide show.

Actual Result:

Icon is not centered and has very small clickable area

Workaround:

unknown

Platform:

Where is this issue occurring?

  • Web
  • Desktop App
  • mobile web - Pop up not aligned

Version Number: 1.2.30-0
Reproducible in staging?: y
Reproducible in production?: No credentials to check
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:
https://user-images.githubusercontent.com/43996225/203600161-5654b7fd-6682-40a9-8530-b75fe04c37e6.mov
Screenshot 2022-11-23 at 7 32 12 AM
https://user-images.githubusercontent.com/43996225/203600179-d2758ed5-df72-43c7-ac8d-acef91305879.mov
13

https://user-images.githubusercontent.com/43996225/203600448-461332bf-edff-4ed7-b2c6-02190895941a.mp4
Expensify/Expensify Issue URL:
Issue reported by: @Santhosh-Sellavel
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1669169036468899

View all open jobs on GitHub

Upwork Automation - Do Not Edit

Activity

  1. added
    BugSomething is broken. Auto assigns a BugZero manager.
    on Nov 23, 2022
  2. melvin-bot commented on Nov 23, 2022

    @melvin-bot

    Triggered auto assignment to @bfitzexpensify (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

  3. dhairyasenjaliya commented on Nov 23, 2022

    @dhairyasenjaliya
    Contributor

    Proposal

    • In order to increase the area of clickable we need to add the same height as the text input
    • Then we need to increase the horizontal clickable area by adding padding
    • Also need to adjust center alignment by adding appropriate top spacing
    • Note also this calendar icon is visible only on chrome based app (chrome and desktop only)
    .expensify-datepicker::-webkit-calendar-picker-indicator {
        position: absolute;
    -    right: 12px;
    -    top: 13px;
    +    right: 0px;
    +    height: 52px;
    +    padding: 20px;
    +    padding-right: 12px;
    +    margin-top: 20px;
    }
    

    Result

    Chrome

    Screenshot 2022-11-25 at 4 01 53 PM

    Increased touch area

    Screen.Recording.2022-11-25.at.4.06.00.PM.mov

    MWeb

    Screenshot 2022-11-25 at 4 09 55 PM

    Desktop

    Screenshot 2022-11-25 at 4 04 16 PM

    Result without fix
    issue

  4. melvin-bot commented on Nov 23, 2022

    @melvin-bot

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

  5. bfitzexpensify commented on Nov 23, 2022

    @bfitzexpensify
    Contributor

    Agree this could be improved.

  6. varshamb commented on Nov 24, 2022

    @varshamb
    Contributor

    Proposal

    Instead making Date Picker in centre I propose make it aligned with date input text.
    for this change position to relative.

    position: relative;

    .expensify-datepicker::-webkit-calendar-picker-indicator {
    position: absolute;

    Screenshot 2022-11-24 at 8 12 23 AM

  7. JmillsExpensify commented on Nov 28, 2022

    @JmillsExpensify
    Contributor

    I think we should make this External @bfitzexpensify. Can you apply that label so that proposals can be evaluated?

  8. added
    ExternalAdded to denote the issue can be worked on by a contributor
    on Nov 28, 2022
  9. melvin-bot commented on Nov 28, 2022

    @melvin-bot

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

  10. changed the title [-]Date picker is not centered and has too small clickable area[/-] [+][$1000] Date picker is not centered and has too small clickable area[/+] on Nov 28, 2022
  11. 52 remaining items

  12. melvin-bot commented on Jan 17, 2023

    @melvin-bot

    @sobitneupane, @shonsirsha, @grgia, @bfitzexpensify Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

  13. melvin-bot commented on Jan 19, 2023

    @melvin-bot

    @sobitneupane, @shonsirsha, @grgia, @bfitzexpensify Eep! 4 days overdue now. Issues have feelings too...

  14. sobitneupane commented on Jan 20, 2023

    @sobitneupane
    Contributor

    BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:

    • [@grgia / @sobitneupane ] The PR that introduced the bug has been identified. Link to the PR:

    This feature was added in #5509 PR. I believe this was present with the introduction of this feature.

  15. MelvinBot commented on Feb 6, 2023

    @MelvinBot
    Contributor

    @sobitneupane, @shonsirsha, @grgia, @bfitzexpensify 12 days overdue. Walking. Toward. The. Light...

  16. MelvinBot commented on Feb 6, 2023

    @MelvinBot
    Contributor

    @sobitneupane, @shonsirsha, @grgia, @bfitzexpensify 12 days overdue. Walking. Toward. The. Light...

  17. MelvinBot commented on Feb 6, 2023

    @MelvinBot
    Contributor

    @sobitneupane, @shonsirsha, @grgia, @bfitzexpensify 12 days overdue now... This issue's end is nigh!

  18. MelvinBot commented on Feb 9, 2023

    @MelvinBot
    Contributor

    This issue has not been updated in over 14 days. @sobitneupane, @shonsirsha, @grgia, @bfitzexpensify eroding to Weekly issue.

  19. MelvinBot commented on Mar 6, 2023

    @MelvinBot
    Contributor

    This issue has not been updated in over 15 days. @sobitneupane, @shonsirsha, @grgia, @bfitzexpensify eroding to Monthly issue.

    P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do!

  20. MelvinBot commented on May 3, 2023

    @MelvinBot
    Contributor

    @sobitneupane, @shonsirsha, @grgia, @bfitzexpensify, this Monthly task hasn't been acted upon in 6 weeks; closing.

    If you disagree, feel encouraged to reopen it -- but pick your least important issue to close instead.

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

Metadata

Metadata

Labels

BugSomething is broken. Auto assigns a BugZero manager.EngineeringExternalAdded to denote the issue can be worked on by a contributorMonthlyKSv2Not a priorityReviewingHas a PR in review

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions