Skip to content

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

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

Activity

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

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