Skip to content

Weird behavior in date input component that only affect mobile size screen #279

@thyAshley

Description

@thyAshley

Component
Form.DateInput

Describe the bug
desktop/laptop devices:
clicking on any of the day/month/year input shows the right click menu to the user
mobile devices:
clicking on any of the day/month/year input shows the copy paste clipboard to the user

To Reproduce

  1. go to https://designsystem.life.gov.sg/react/index.html?path=/docs/form-dateinput--date-input
  2. set browser responsiveness to mobile screen
  3. add a date to the input
    image
  4. edit the date by clicking on any part of the date input (day, month, year)
  5. you will see the right click menu upon clicking on any of the input field
    image

Expected behavior
right click menu should not appear in desktop
clipboard action should not appear in mobile

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions