carbon-addons-iot-react icon indicating copy to clipboard operation
carbon-addons-iot-react copied to clipboard

[DateTimePicker] RTL story issues

Open sstone2423 opened this issue 4 years ago • 1 comments
trafficstars

What package is this for?

  • [x] React
  • [ ] Angular

Describe the bug

When in RTL mode the "to" is out of place. ie. to Now {DATE} instead of Now to {DATE}

image

When in RTL mode the and setting a relative date the number in the Last input is out of place. It's by the - instead of on the left.

image

To Reproduce

Steps to reproduce the behavior:

  1. Go to https://next.carbon-addons-iot-react.com/?path=/story/1-watson-iot-datetime-picker--default
  2. Observe the above issues

Expected behavior

Story should render correctly for RTL

Environment/versions:

  • OS: [e.g. MacOS, Windows]
  • Browser: [e.g. chrome, safari]
  • carbon-addons-iot-react version: [e.g. v2.60.0]

Additional context

If applicable, add screenshots to help explain your problem.

Add any other context about the problem here.

Specific timeline issues / requests

Do you want this work within a specific time period? Is it related to an upcoming release?

NB: The core contributors will try to work with your timeline, but it's not guaranteed. The earlier you make a request in advance of a desired delivery date, the better!

sstone2423 avatar Jul 22 '21 17:07 sstone2423

FYI, we are tracking all RTL issues with the "type: RTL" tag. When we have an RTL requirement and commitment for MAS, we will re-prioritize all such items higher.

JordanWSmith15 avatar Jul 22 '21 17:07 JordanWSmith15